Class ListaggAggregationFunction
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.listagg.ListaggAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class ListaggAggregationFunction extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static ListaggAggregationFunctionLISTAGGstatic StringNAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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)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
-
LISTAGG
public static final ListaggAggregationFunction LISTAGG
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature)
- 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
public static void output(Type type, ListaggAggregationState state, BlockBuilder out)
-
outputState
protected static void outputState(ListaggAggregationState state, BlockBuilder out, int maxOutputLength)
-
-