Record Class KeywordsReadResult
java.lang.Object
java.lang.Record
org.geysermc.databaseutils.processor.query.KeywordsReadResult
public record KeywordsReadResult(String actionName, @Nullable ProjectionSection projection, @Nullable BySection bySection, @Nullable OrderBySection orderBySection)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionKeywordsReadResult(String actionName, @Nullable ProjectionSection projection, @Nullable BySection bySection, @Nullable OrderBySection orderBySection) Creates an instance of aKeywordsReadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionNamerecord component.static KeywordsReadResult.Builderbuilder()@Nullable BySectionReturns the value of thebySectionrecord 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.@Nullable ProjectionSectionReturns the value of theprojectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeywordsReadResult
public KeywordsReadResult(String actionName, @Nullable ProjectionSection projection, @Nullable BySection bySection, @Nullable OrderBySection orderBySection) Creates an instance of aKeywordsReadResultrecord class.- Parameters:
actionName- the value for theactionNamerecord componentprojection- the value for theprojectionrecord componentbySection- the value for thebySectionrecord componentorderBySection- the value for theorderBySectionrecord component
-
-
Method Details
-
builder
-
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). -
actionName
Returns the value of theactionNamerecord component.- Returns:
- the value of the
actionNamerecord component
-
projection
Returns the value of theprojectionrecord component.- Returns:
- the value of the
projectionrecord 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
-