Class ListaggAggregationFunction
java.lang.Object
io.trino.metadata.SqlAggregationFunction
io.trino.operator.aggregation.listagg.ListaggAggregationFunction
- All Implemented Interfaces:
SqlFunction
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(Type type, ListaggAggregationState state, ListaggAggregationState otherState) static voidinput(Type type, ListaggAggregationState state, Block value, io.airlift.slice.Slice separator, boolean overflowError, io.airlift.slice.Slice overflowFiller, boolean showOverflowEntryCount, int position) static voidoutput(Type type, ListaggAggregationState state, BlockBuilder out) protected static voidoutputState(ListaggAggregationState state, BlockBuilder out, int maxOutputLength) specialize(BoundSignature boundSignature) Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
Field Details
-
LISTAGG
-
NAME
- See Also:
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlAggregationFunction
-
input
public static void input(Type type, ListaggAggregationState state, Block value, io.airlift.slice.Slice separator, boolean overflowError, io.airlift.slice.Slice overflowFiller, boolean showOverflowEntryCount, int position) -
combine
public static void combine(Type type, ListaggAggregationState state, ListaggAggregationState otherState) -
output
-
outputState
protected static void outputState(ListaggAggregationState state, BlockBuilder out, int maxOutputLength)
-