Class AggregationImplementation
- java.lang.Object
-
- io.prestosql.operator.aggregation.AggregationImplementation
-
- All Implemented Interfaces:
ParametricImplementation
public class AggregationImplementation extends Object implements ParametricImplementation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregationImplementation.AggregateNativeContainerType
static class
AggregationImplementation.Parser
-
Constructor Summary
Constructors Constructor Description AggregationImplementation(Signature signature, Class<?> definitionClass, Class<?> stateClass, MethodHandle inputFunction, Optional<MethodHandle> removeInputFunction, MethodHandle outputFunction, MethodHandle combineFunction, List<AggregationImplementation.AggregateNativeContainerType> argumentNativeContainerTypes, List<ImplementationDependency> inputDependencies, List<ImplementationDependency> removeInputDependencies, List<ImplementationDependency> combineDependencies, List<ImplementationDependency> outputDependencies, List<AggregationMetadata.ParameterMetadata.ParameterType> inputParameterMetadataTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
areTypesAssignable(BoundSignature boundSignature)
List<FunctionArgumentDefinition>
getArgumentDefinitions()
List<ImplementationDependency>
getCombineDependencies()
MethodHandle
getCombineFunction()
Class<?>
getDefinitionClass()
List<ImplementationDependency>
getInputDependencies()
MethodHandle
getInputFunction()
List<AggregationMetadata.ParameterMetadata.ParameterType>
getInputParameterMetadataTypes()
List<ImplementationDependency>
getOutputDependencies()
MethodHandle
getOutputFunction()
List<ImplementationDependency>
getRemoveInputDependencies()
Optional<MethodHandle>
getRemoveInputFunction()
Signature
getSignature()
Class<?>
getStateClass()
boolean
hasSpecializedTypeParameters()
boolean
isNullable()
-
-
-
Constructor Detail
-
AggregationImplementation
public AggregationImplementation(Signature signature, Class<?> definitionClass, Class<?> stateClass, MethodHandle inputFunction, Optional<MethodHandle> removeInputFunction, MethodHandle outputFunction, MethodHandle combineFunction, List<AggregationImplementation.AggregateNativeContainerType> argumentNativeContainerTypes, List<ImplementationDependency> inputDependencies, List<ImplementationDependency> removeInputDependencies, List<ImplementationDependency> combineDependencies, List<ImplementationDependency> outputDependencies, List<AggregationMetadata.ParameterMetadata.ParameterType> inputParameterMetadataTypes)
-
-
Method Detail
-
getSignature
public Signature getSignature()
- Specified by:
getSignature
in interfaceParametricImplementation
-
hasSpecializedTypeParameters
public boolean hasSpecializedTypeParameters()
- Specified by:
hasSpecializedTypeParameters
in interfaceParametricImplementation
-
isNullable
public final boolean isNullable()
- Specified by:
isNullable
in interfaceParametricImplementation
-
getArgumentDefinitions
public List<FunctionArgumentDefinition> getArgumentDefinitions()
- Specified by:
getArgumentDefinitions
in interfaceParametricImplementation
-
getDefinitionClass
public Class<?> getDefinitionClass()
-
getStateClass
public Class<?> getStateClass()
-
getInputFunction
public MethodHandle getInputFunction()
-
getRemoveInputFunction
public Optional<MethodHandle> getRemoveInputFunction()
-
getOutputFunction
public MethodHandle getOutputFunction()
-
getCombineFunction
public MethodHandle getCombineFunction()
-
getInputDependencies
public List<ImplementationDependency> getInputDependencies()
-
getRemoveInputDependencies
public List<ImplementationDependency> getRemoveInputDependencies()
-
getOutputDependencies
public List<ImplementationDependency> getOutputDependencies()
-
getCombineDependencies
public List<ImplementationDependency> getCombineDependencies()
-
getInputParameterMetadataTypes
public List<AggregationMetadata.ParameterMetadata.ParameterType> getInputParameterMetadataTypes()
-
areTypesAssignable
public boolean areTypesAssignable(BoundSignature boundSignature)
-
-