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