Class AbstractMinMaxBy
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.minmaxby.AbstractMinMaxBy
-
- All Implemented Interfaces:
SqlFunction
- Direct Known Subclasses:
MaxByAggregationFunction,MinByAggregationFunction
public abstract class AbstractMinMaxBy extends SqlAggregationFunction
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractMinMaxBy(boolean min, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionDependencyDeclarationgetFunctionDependencies()AggregationMetadataspecialize(BoundSignature boundSignature, FunctionDependencies functionDependencies)-
Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specialize
-
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
-
-
-
-
Constructor Detail
-
AbstractMinMaxBy
protected AbstractMinMaxBy(boolean min, String description)
-
-
Method Detail
-
getFunctionDependencies
public FunctionDependencyDeclaration getFunctionDependencies()
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies)
- Overrides:
specializein classSqlAggregationFunction
-
-