Class GroupListaggAggregationState
java.lang.Object
io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
io.trino.operator.aggregation.AbstractGroupCollectionAggregationState<ListaggAggregationStateConsumer>
io.trino.operator.aggregation.listagg.GroupListaggAggregationState
- All Implemented Interfaces:
ListaggAggregationState,AccumulatorState,GroupedAccumulatorState
public final class GroupListaggAggregationState
extends AbstractGroupCollectionAggregationState<ListaggAggregationStateConsumer>
implements ListaggAggregationState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanaccept(ListaggAggregationStateConsumer consumer, PageBuilder pageBuilder, int currentPosition) final voidio.airlift.slice.Sliceio.airlift.slice.SlicebooleanvoidsetOverflowError(boolean overflowError) voidsetOverflowFiller(io.airlift.slice.Slice overflowFiller) voidsetSeparator(io.airlift.slice.Slice separator) voidsetShowOverflowEntryCount(boolean showOverflowEntryCount) booleanMethods inherited from class io.trino.operator.aggregation.AbstractGroupCollectionAggregationState
appendAtChannel, ensureCapacity, forEach, getEntryCount, getEstimatedSize, isEmpty, prepareAddMethods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copy, getEstimatedSizeMethods inherited from interface io.trino.operator.aggregation.listagg.ListaggAggregationState
forEach, getEntryCount, isEmpty, merge, reset
-
Constructor Details
-
GroupListaggAggregationState
-
-
Method Details
-
setSeparator
public void setSeparator(io.airlift.slice.Slice separator) - Specified by:
setSeparatorin interfaceListaggAggregationState
-
getSeparator
public io.airlift.slice.Slice getSeparator()- Specified by:
getSeparatorin interfaceListaggAggregationState
-
setOverflowFiller
public void setOverflowFiller(io.airlift.slice.Slice overflowFiller) - Specified by:
setOverflowFillerin interfaceListaggAggregationState
-
getOverflowFiller
public io.airlift.slice.Slice getOverflowFiller()- Specified by:
getOverflowFillerin interfaceListaggAggregationState
-
setOverflowError
public void setOverflowError(boolean overflowError) - Specified by:
setOverflowErrorin interfaceListaggAggregationState
-
isOverflowError
public boolean isOverflowError()- Specified by:
isOverflowErrorin interfaceListaggAggregationState
-
setShowOverflowEntryCount
public void setShowOverflowEntryCount(boolean showOverflowEntryCount) - Specified by:
setShowOverflowEntryCountin interfaceListaggAggregationState
-
showOverflowEntryCount
public boolean showOverflowEntryCount()- Specified by:
showOverflowEntryCountin interfaceListaggAggregationState
-
add
- Specified by:
addin interfaceListaggAggregationState
-
accept
protected final boolean accept(ListaggAggregationStateConsumer consumer, PageBuilder pageBuilder, int currentPosition) - Specified by:
acceptin classAbstractGroupCollectionAggregationState<ListaggAggregationStateConsumer>
-