Record Class QueryInfo
java.lang.Object
java.lang.Record
org.geysermc.databaseutils.processor.query.QueryInfo
public record QueryInfo(EntityInfo entityInfo, KeywordsReadResult result, ExecutableElement element)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionQueryInfo(EntityInfo entityInfo, KeywordsReadResult result, ExecutableElement element) Creates an instance of aQueryInforecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumnFor(CharSequence columnName) columns()element()Returns the value of theelementrecord component.Returns the value of theentityInforecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfinal inthashCode()Returns a hash code value for this object.parameterName(int index) voidresult()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryInfo
Creates an instance of aQueryInforecord class.- Parameters:
entityInfo- the value for theentityInforecord componentresult- the value for theresultrecord componentelement- the value for theelementrecord component
-
-
Method Details
-
tableName
-
entityType
-
columns
-
columnFor
-
hasBySection
public boolean hasBySection() -
bySectionFactors
-
requireBySection
public void requireBySection() -
byVariables
-
parameterName
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
entityInfo
Returns the value of theentityInforecord component.- Returns:
- the value of the
entityInforecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-