Package io.trino.sql.planner.plan
Record Class StatisticAggregationsDescriptor.ColumnStatisticAggregationsDescriptor<T>
java.lang.Object
java.lang.Record
io.trino.sql.planner.plan.StatisticAggregationsDescriptor.ColumnStatisticAggregationsDescriptor<T>
- Enclosing class:
StatisticAggregationsDescriptor<T>
public static record StatisticAggregationsDescriptor.ColumnStatisticAggregationsDescriptor<T>(ColumnStatisticMetadata metadata, T input)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionColumnStatisticAggregationsDescriptor(ColumnStatisticMetadata metadata, T input) Creates an instance of aColumnStatisticAggregationsDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.metadata()Returns the value of themetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnStatisticAggregationsDescriptor
Creates an instance of aColumnStatisticAggregationsDescriptorrecord class.- Parameters:
metadata- the value for themetadatarecord componentinput- the value for theinputrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
metadata
Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-