Package io.trino.metadata
Class SqlAggregationFunction
java.lang.Object
io.trino.metadata.SqlAggregationFunction
- All Implemented Interfaces:
SqlFunction
- Direct Known Subclasses:
ParametricAggregation,ReduceAggregationFunction
-
Constructor Summary
ConstructorsConstructorDescriptionSqlAggregationFunction(FunctionMetadata functionMetadata, AggregationFunctionMetadata aggregationFunctionMetadata) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<SqlAggregationFunction> createFunctionsByAnnotations(Class<?> aggregationDefinition) protected AggregationImplementationspecialize(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 AggregationImplementation specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies) -
specialize
-