Class ArrayAggregationFunction
- java.lang.Object
-
- io.prestosql.metadata.SqlAggregationFunction
-
- io.prestosql.operator.aggregation.arrayagg.ArrayAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class ArrayAggregationFunction extends SqlAggregationFunction
-
-
Constructor Summary
Constructors Constructor Description ArrayAggregationFunction(ArrayAggGroupImplementation groupMode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
combine(Type type, ArrayAggregationState state, ArrayAggregationState otherState)
List<TypeSignature>
getIntermediateTypes(FunctionBinding functionBinding)
static void
input(Type type, ArrayAggregationState state, Block value, int position)
static void
output(Type elementType, ArrayAggregationState state, BlockBuilder out)
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
-
-
-
-
Constructor Detail
-
ArrayAggregationFunction
public ArrayAggregationFunction(ArrayAggGroupImplementation groupMode)
-
-
Method Detail
-
getIntermediateTypes
public List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
- Overrides:
getIntermediateTypes
in classSqlAggregationFunction
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding)
- Overrides:
specialize
in classSqlAggregationFunction
-
input
public static void input(Type type, ArrayAggregationState state, Block value, int position)
-
combine
public static void combine(Type type, ArrayAggregationState state, ArrayAggregationState otherState)
-
output
public static void output(Type elementType, ArrayAggregationState state, BlockBuilder out)
-
-