Class SingleArrayAggregationState
java.lang.Object
io.trino.operator.aggregation.arrayagg.SingleArrayAggregationState
- All Implemented Interfaces:
ArrayAggregationState,AccumulatorState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy()voidforEach(ArrayAggregationStateConsumer consumer) longbooleanisEmpty()voidreset()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.aggregation.arrayagg.ArrayAggregationState
merge
-
Constructor Details
-
SingleArrayAggregationState
-
-
Method Details
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
add
- Specified by:
addin interfaceArrayAggregationState
-
forEach
- Specified by:
forEachin interfaceArrayAggregationState
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceArrayAggregationState
-
reset
public void reset()- Specified by:
resetin interfaceArrayAggregationState
-
copy
- Specified by:
copyin interfaceAccumulatorState
-