Package io.trino.sql.analyzer
Record Class PatternRecognitionAnalysis.AggregationDescriptor
java.lang.Object
java.lang.Record
io.trino.sql.analyzer.PatternRecognitionAnalysis.AggregationDescriptor
- All Implemented Interfaces:
PatternRecognitionAnalysis.Descriptor
- Enclosing class:
PatternRecognitionAnalysis
public static record PatternRecognitionAnalysis.AggregationDescriptor(ResolvedFunction function, List<Expression> arguments, PatternRecognitionAnalysis.NavigationMode mode, Set<String> labels, List<FunctionCall> matchNumberCalls, List<FunctionCall> classifierCalls)
extends Record
implements PatternRecognitionAnalysis.Descriptor
-
Constructor Summary
ConstructorsConstructorDescriptionAggregationDescriptor(ResolvedFunction function, List<Expression> arguments, PatternRecognitionAnalysis.NavigationMode mode, Set<String> labels, List<FunctionCall> matchNumberCalls, List<FunctionCall> classifierCalls) Creates an instance of aAggregationDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.Returns the value of theclassifierCallsrecord component.final booleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.labels()Returns the value of thelabelsrecord component.Returns the value of thematchNumberCallsrecord component.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
labels
Returns the value of thelabelsrecord component.- Returns:
- the value of the
labelsrecord component
-
matchNumberCalls
Returns the value of thematchNumberCallsrecord component.- Returns:
- the value of the
matchNumberCallsrecord component
-
classifierCalls
Returns the value of theclassifierCallsrecord component.- Returns:
- the value of the
classifierCallsrecord component
-