Package io.prestosql.metadata
Class SqlAggregationFunction
- java.lang.Object
-
- io.prestosql.metadata.SqlAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
- Direct Known Subclasses:
AbstractMinMaxAggregationFunction
,AbstractMinMaxBy
,AbstractMinMaxByNAggregationFunction
,AbstractMinMaxNAggregationFunction
,ArbitraryAggregationFunction
,ArrayAggregationFunction
,ChecksumAggregationFunction
,CountColumn
,DecimalAverageAggregation
,DecimalSumAggregation
,Histogram
,MapAggregationFunction
,MapUnionAggregation
,MergeQuantileDigestFunction
,MultimapAggregationFunction
,ParametricAggregation
,QuantileDigestAggregationFunction
,RealAverageAggregation
,ReduceAggregationFunction
public abstract class SqlAggregationFunction extends Object implements SqlFunction
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SqlAggregationFunction(FunctionMetadata functionMetadata, boolean decomposable, boolean orderSensitive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<SqlAggregationFunction>
createFunctionByAnnotations(Class<?> aggregationDefinition)
static List<SqlAggregationFunction>
createFunctionsByAnnotations(Class<?> aggregationDefinition)
AggregationFunctionMetadata
getAggregationMetadata(FunctionBinding functionBinding)
FunctionMetadata
getFunctionMetadata()
protected List<TypeSignature>
getIntermediateTypes(FunctionBinding functionBinding)
protected InternalAggregationFunction
specialize(FunctionBinding functionBinding)
InternalAggregationFunction
specialize(FunctionBinding functionBinding, FunctionDependencies functionDependencies)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Constructor Detail
-
SqlAggregationFunction
protected SqlAggregationFunction(FunctionMetadata functionMetadata, boolean decomposable, boolean orderSensitive)
-
-
Method Detail
-
createFunctionByAnnotations
public static List<SqlAggregationFunction> createFunctionByAnnotations(Class<?> aggregationDefinition)
-
createFunctionsByAnnotations
public static List<SqlAggregationFunction> createFunctionsByAnnotations(Class<?> aggregationDefinition)
-
getFunctionMetadata
public FunctionMetadata getFunctionMetadata()
- Specified by:
getFunctionMetadata
in interfaceSqlFunction
-
getAggregationMetadata
public AggregationFunctionMetadata getAggregationMetadata(FunctionBinding functionBinding)
-
getIntermediateTypes
protected List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding, FunctionDependencies functionDependencies)
-
specialize
protected InternalAggregationFunction specialize(FunctionBinding functionBinding)
-
-