Record Class ProjectionSection
java.lang.Object
java.lang.Record
org.geysermc.databaseutils.processor.query.section.ProjectionSection
-
Constructor Summary
ConstructorsConstructorDescriptionProjectionSection(@NonNull List<@NonNull ProjectionFactor> projections) Creates an instance of aProjectionSectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondistinct()final booleanIndicates whether some other object is "equal to" this one.static ProjectionSectionfinal inthashCode()Returns a hash code value for this object.@NonNull List<@NonNull ProjectionKeyword>List<@NonNull ProjectionFactor>Returns the value of theprojectionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectionSection
Creates an instance of aProjectionSectionrecord class.- Parameters:
projections- the value for theprojectionsrecord component
-
-
Method Details
-
from
-
columnName
-
distinct
-
notDistinctProjectionKeywords
-
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). -
projections
Returns the value of theprojectionsrecord component.- Returns:
- the value of the
projectionsrecord component
-