Package io.trino.operator.aggregation
Record Class AggregationHeader
java.lang.Object
java.lang.Record
io.trino.operator.aggregation.AggregationHeader
-
Constructor Summary
ConstructorsConstructorDescriptionAggregationHeader(String name, Set<String> aliases, Optional<String> description, boolean decomposable, boolean orderSensitive, boolean hidden, boolean deprecated, Optional<Class<? extends WindowAccumulator>> windowAccumulator) Creates an instance of aAggregationHeaderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaliases()Returns the value of thealiasesrecord component.booleanReturns the value of thedecomposablerecord component.booleanReturns the value of thedeprecatedrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanhidden()Returns the value of thehiddenrecord component.name()Returns the value of thenamerecord component.booleanReturns the value of theorderSensitiverecord component.final StringtoString()Returns a string representation of this record class.Optional<Class<? extends WindowAccumulator>> Returns the value of thewindowAccumulatorrecord component.
-
Constructor Details
-
AggregationHeader
public AggregationHeader(String name, Set<String> aliases, Optional<String> description, boolean decomposable, boolean orderSensitive, boolean hidden, boolean deprecated, Optional<Class<? extends WindowAccumulator>> windowAccumulator) Creates an instance of aAggregationHeaderrecord class.- Parameters:
name- the value for thenamerecord componentaliases- the value for thealiasesrecord componentdescription- the value for thedescriptionrecord componentdecomposable- the value for thedecomposablerecord componentorderSensitive- the value for theorderSensitiverecord componenthidden- the value for thehiddenrecord componentdeprecated- the value for thedeprecatedrecord componentwindowAccumulator- the value for thewindowAccumulatorrecord 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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
aliases
Returns the value of thealiasesrecord component.- Returns:
- the value of the
aliasesrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
decomposable
public boolean decomposable()Returns the value of thedecomposablerecord component.- Returns:
- the value of the
decomposablerecord component
-
orderSensitive
public boolean orderSensitive()Returns the value of theorderSensitiverecord component.- Returns:
- the value of the
orderSensitiverecord component
-
deprecated
public boolean deprecated()Returns the value of thedeprecatedrecord component.- Returns:
- the value of the
deprecatedrecord component
-
windowAccumulator
Returns the value of thewindowAccumulatorrecord component.- Returns:
- the value of the
windowAccumulatorrecord component
-