Package io.trino.operator.aggregation
Class CountColumn
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.CountColumn
-
- All Implemented Interfaces:
SqlFunction
public class CountColumn extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static CountColumnCOUNT_COLUMN
-
Constructor Summary
Constructors Constructor Description CountColumn()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(LongState state, LongState otherState)List<TypeSignature>getIntermediateTypes(FunctionBinding functionBinding)static voidinput(LongState state, Block block, int index)static voidoutput(LongState state, BlockBuilder out)static voidremoveInput(LongState state, Block block, int index)InternalAggregationFunctionspecialize(FunctionBinding functionBinding)-
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, getFunctionDependencies
-
-
-
-
Field Detail
-
COUNT_COLUMN
public static final CountColumn COUNT_COLUMN
-
-
Method Detail
-
getIntermediateTypes
public List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
- Overrides:
getIntermediateTypesin classSqlAggregationFunction
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding)
- Overrides:
specializein classSqlAggregationFunction
-
output
public static void output(LongState state, BlockBuilder out)
-
-