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,ListaggAggregationFunction,MapAggregationFunction,MapUnionAggregation,MergeQuantileDigestFunction,MultimapAggregationFunction,ParametricAggregation,QuantileDigestAggregationFunction,RealAverageAggregation,ReduceAggregationFunction
public abstract class SqlAggregationFunction extends Object implements SqlFunction
-
-
Constructor Summary
Constructors Constructor Description SqlAggregationFunction(FunctionMetadata functionMetadata, AggregationFunctionMetadata aggregationFunctionMetadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<SqlAggregationFunction>createFunctionsByAnnotations(Class<?> aggregationDefinition)AggregationFunctionMetadatagetAggregationMetadata()FunctionMetadatagetFunctionMetadata()protected AggregationMetadataspecialize(BoundSignature boundSignature)AggregationMetadataspecialize(BoundSignature boundSignature, 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
public SqlAggregationFunction(FunctionMetadata functionMetadata, AggregationFunctionMetadata aggregationFunctionMetadata)
-
-
Method Detail
-
createFunctionsByAnnotations
public static List<SqlAggregationFunction> createFunctionsByAnnotations(Class<?> aggregationDefinition)
-
getFunctionMetadata
public FunctionMetadata getFunctionMetadata()
- Specified by:
getFunctionMetadatain interfaceSqlFunction
-
getAggregationMetadata
public AggregationFunctionMetadata getAggregationMetadata()
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies)
-
specialize
protected AggregationMetadata specialize(BoundSignature boundSignature)
-
-