Record Class KeywordsReadResult
java.lang.Object
java.lang.Record
org.geysermc.databaseutils.processor.query.KeywordsReadResult
public record KeywordsReadResult(String actionName, boolean distinct, @Nullable BySection bySection, @Nullable OrderBySection orderBySection)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKeywordsReadResult(String actionName, boolean distinct, @Nullable BySection bySection, @Nullable OrderBySection orderBySection) Creates an instance of aKeywordsReadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionNamerecord component.@Nullable BySectionReturns the value of thebySectionrecord component.booleandistinct()Returns the value of thedistinctrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable OrderBySectionReturns the value of theorderBySectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeywordsReadResult
public KeywordsReadResult(String actionName, boolean distinct, @Nullable BySection bySection, @Nullable OrderBySection orderBySection) Creates an instance of aKeywordsReadResultrecord class.- Parameters:
actionName- the value for theactionNamerecord componentdistinct- the value for thedistinctrecord componentbySection- the value for thebySectionrecord componentorderBySection- the value for theorderBySectionrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
actionName
Returns the value of theactionNamerecord component.- Returns:
- the value of the
actionNamerecord component
-
distinct
public boolean distinct()Returns the value of thedistinctrecord component.- Returns:
- the value of the
distinctrecord component
-
bySection
Returns the value of thebySectionrecord component.- Returns:
- the value of the
bySectionrecord component
-
orderBySection
Returns the value of theorderBySectionrecord component.- Returns:
- the value of the
orderBySectionrecord component
-