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
-
Constructor Summary
ConstructorsConstructorDescriptionSqlAggregationFunction(FunctionMetadata functionMetadata, AggregationFunctionMetadata aggregationFunctionMetadata) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<SqlAggregationFunction>createFunctionsByAnnotations(Class<?> aggregationDefinition) protected AggregationMetadataspecialize(BoundSignature boundSignature) specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
Constructor Details
-
SqlAggregationFunction
public SqlAggregationFunction(FunctionMetadata functionMetadata, AggregationFunctionMetadata aggregationFunctionMetadata)
-
-
Method Details
-
createFunctionsByAnnotations
public static List<SqlAggregationFunction> createFunctionsByAnnotations(Class<?> aggregationDefinition) -
getFunctionMetadata
- Specified by:
getFunctionMetadatain interfaceSqlFunction
-
getAggregationMetadata
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies) -
specialize
-