Package io.trino.metadata
Class SqlAggregationFunction
- java.lang.Object
-
- io.trino.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 protectedSqlAggregationFunction(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)AggregationFunctionMetadatagetAggregationMetadata(FunctionBinding functionBinding)FunctionMetadatagetFunctionMetadata()protected List<TypeSignature>getIntermediateTypes(FunctionBinding functionBinding)protected InternalAggregationFunctionspecialize(FunctionBinding functionBinding)InternalAggregationFunctionspecialize(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.trino.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:
getFunctionMetadatain 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)
-
-