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 Constructor Description GroupListaggAggregationState(Type valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaccept(ListaggAggregationStateConsumer consumer, PageBuilder pageBuilder, int currentPosition)voidadd(Block block, int position)io.airlift.slice.SlicegetOverflowFiller()io.airlift.slice.SlicegetSeparator()booleanisOverflowError()voidsetOverflowError(boolean overflowError)voidsetOverflowFiller(io.airlift.slice.Slice overflowFiller)voidsetSeparator(io.airlift.slice.Slice separator)voidsetShowOverflowEntryCount(boolean showOverflowEntryCount)booleanshowOverflowEntryCount()-
Methods inherited from class io.trino.operator.aggregation.AbstractGroupCollectionAggregationState
appendAtChannel, ensureCapacity, forEach, getEntryCount, getEstimatedSize, isEmpty, prepareAdd
-
Methods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.spi.function.AccumulatorState
copy, getEstimatedSize
-
Methods inherited from interface io.trino.operator.aggregation.listagg.ListaggAggregationState
forEach, getEntryCount, isEmpty, merge, reset
-
-
-
-
Constructor Detail
-
GroupListaggAggregationState
public GroupListaggAggregationState(Type valueType)
-
-
Method Detail
-
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
public final void add(Block block, int position)
- Specified by:
addin interfaceListaggAggregationState
-
accept
protected final boolean accept(ListaggAggregationStateConsumer consumer, PageBuilder pageBuilder, int currentPosition)
- Specified by:
acceptin classAbstractGroupCollectionAggregationState<ListaggAggregationStateConsumer>
-
-