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()List<TypeSignature>getIntermediateTypes(FunctionBinding functionBinding)InternalAggregationFunctionspecialize(FunctionBinding functionBinding, FunctionDependencies functionDependencies)-
Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionByAnnotations, 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()
-
getIntermediateTypes
public List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
- Overrides:
getIntermediateTypesin classSqlAggregationFunction
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding, FunctionDependencies functionDependencies)
- Overrides:
specializein classSqlAggregationFunction
-
-