Class SingleArrayAggregationState
- java.lang.Object
-
- io.trino.operator.aggregation.arrayagg.SingleArrayAggregationState
-
- All Implemented Interfaces:
ArrayAggregationState,AccumulatorState
public class SingleArrayAggregationState extends Object implements ArrayAggregationState
-
-
Constructor Summary
Constructors Constructor Description SingleArrayAggregationState(Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Block block, int position)voidforEach(ArrayAggregationStateConsumer consumer)longgetEstimatedSize()booleanisEmpty()voidreset()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.operator.aggregation.arrayagg.ArrayAggregationState
merge
-
-
-
-
Constructor Detail
-
SingleArrayAggregationState
public SingleArrayAggregationState(Type type)
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
add
public void add(Block block, int position)
- Specified by:
addin interfaceArrayAggregationState
-
forEach
public void forEach(ArrayAggregationStateConsumer consumer)
- Specified by:
forEachin interfaceArrayAggregationState
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceArrayAggregationState
-
reset
public void reset()
- Specified by:
resetin interfaceArrayAggregationState
-
-