Package io.trino.operator.aggregation
Class AggregationMetadata
- java.lang.Object
-
- io.trino.operator.aggregation.AggregationMetadata
-
public class AggregationMetadata extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregationMetadata.AccumulatorStateDescriptorstatic classAggregationMetadata.ParameterMetadata
-
Constructor Summary
Constructors Constructor Description AggregationMetadata(String name, List<AggregationMetadata.ParameterMetadata> valueInputMetadata, MethodHandle inputFunction, Optional<MethodHandle> removeInputFunction, MethodHandle combineFunction, MethodHandle outputFunction, List<AggregationMetadata.AccumulatorStateDescriptor> accumulatorStateDescriptors, Type outputType)AggregationMetadata(String name, List<AggregationMetadata.ParameterMetadata> valueInputMetadata, MethodHandle inputFunction, Optional<MethodHandle> removeInputFunction, MethodHandle combineFunction, MethodHandle outputFunction, List<AggregationMetadata.AccumulatorStateDescriptor> accumulatorStateDescriptors, Type outputType, List<Class<?>> lambdaInterfaces)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcountInputChannels(List<AggregationMetadata.ParameterMetadata> metadatas)List<AggregationMetadata.AccumulatorStateDescriptor>getAccumulatorStateDescriptors()MethodHandlegetCombineFunction()MethodHandlegetInputFunction()List<Class<?>>getLambdaInterfaces()StringgetName()MethodHandlegetOutputFunction()TypegetOutputType()Optional<MethodHandle>getRemoveInputFunction()List<AggregationMetadata.ParameterMetadata>getValueInputMetadata()
-
-
-
Constructor Detail
-
AggregationMetadata
public AggregationMetadata(String name, List<AggregationMetadata.ParameterMetadata> valueInputMetadata, MethodHandle inputFunction, Optional<MethodHandle> removeInputFunction, MethodHandle combineFunction, MethodHandle outputFunction, List<AggregationMetadata.AccumulatorStateDescriptor> accumulatorStateDescriptors, Type outputType)
-
AggregationMetadata
public AggregationMetadata(String name, List<AggregationMetadata.ParameterMetadata> valueInputMetadata, MethodHandle inputFunction, Optional<MethodHandle> removeInputFunction, MethodHandle combineFunction, MethodHandle outputFunction, List<AggregationMetadata.AccumulatorStateDescriptor> accumulatorStateDescriptors, Type outputType, List<Class<?>> lambdaInterfaces)
-
-
Method Detail
-
getOutputType
public Type getOutputType()
-
getValueInputMetadata
public List<AggregationMetadata.ParameterMetadata> getValueInputMetadata()
-
getName
public String getName()
-
getInputFunction
public MethodHandle getInputFunction()
-
getRemoveInputFunction
public Optional<MethodHandle> getRemoveInputFunction()
-
getCombineFunction
public MethodHandle getCombineFunction()
-
getOutputFunction
public MethodHandle getOutputFunction()
-
getAccumulatorStateDescriptors
public List<AggregationMetadata.AccumulatorStateDescriptor> getAccumulatorStateDescriptors()
-
countInputChannels
public static int countInputChannels(List<AggregationMetadata.ParameterMetadata> metadatas)
-
-