Class SingleListaggAggregationState
java.lang.Object
io.trino.operator.aggregation.listagg.SingleListaggAggregationState
- All Implemented Interfaces:
ListaggAggregationState,AccumulatorState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidforEach(ListaggAggregationStateConsumer consumer) intlongio.airlift.slice.Sliceio.airlift.slice.SlicebooleanisEmpty()booleanvoidreset()voidsetOverflowError(boolean overflowError) voidsetOverflowFiller(io.airlift.slice.Slice overflowFiller) voidsetSeparator(io.airlift.slice.Slice separator) voidsetShowOverflowEntryCount(boolean showOverflowEntryCount) booleanMethods 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
copyMethods inherited from interface io.trino.operator.aggregation.listagg.ListaggAggregationState
merge
-
Constructor Details
-
SingleListaggAggregationState
public SingleListaggAggregationState()
-
-
Method Details
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
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
-
forEach
- Specified by:
forEachin interfaceListaggAggregationState
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceListaggAggregationState
-
getEntryCount
public int getEntryCount()- Specified by:
getEntryCountin interfaceListaggAggregationState
-
reset
public void reset()- Specified by:
resetin interfaceListaggAggregationState
-