Class ArrayAggregationFunction
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.arrayagg.ArrayAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class ArrayAggregationFunction extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static ArrayAggregationFunctionARRAY_AGG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(Type type, ArrayAggregationState state, ArrayAggregationState otherState)static voidinput(Type type, ArrayAggregationState state, Block value, int position)static voidoutput(Type elementType, ArrayAggregationState state, BlockBuilder out)AggregationMetadataspecialize(BoundSignature boundSignature)-
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, getFunctionDependencies
-
-
-
-
Field Detail
-
ARRAY_AGG
public static final ArrayAggregationFunction ARRAY_AGG
-
-
Method Detail
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature)
- Overrides:
specializein 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)
-
-