Class SingleArrayAggregationState
java.lang.Object
io.trino.operator.aggregation.arrayagg.SingleArrayAggregationState
- All Implemented Interfaces:
ArrayAggregationState,AccumulatorState
-
Constructor Summary
ConstructorsConstructorDescriptionSingleArrayAggregationState(Type type, MethodHandle readFlat, MethodHandle writeFlat) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ValueBlock block, int position) copy()longbooleanisEmpty()voidwriteAll(BlockBuilder blockBuilder) 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
-
writeAll
- Specified by:
writeAllin interfaceArrayAggregationState
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceArrayAggregationState
-
copy
- Specified by:
copyin interfaceAccumulatorState
-