Class AbstractMultimapAggregationState
java.lang.Object
io.trino.operator.aggregation.multimapagg.AbstractMultimapAggregationState
- All Implemented Interfaces:
MultimapAggregationState,AccumulatorState
- Direct Known Subclasses:
GroupedMultimapAggregationState,SingleMultimapAggregationState
public abstract class AbstractMultimapAggregationState
extends Object
implements MultimapAggregationState
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMultimapAggregationState(Type keyType, MethodHandle keyReadFlat, MethodHandle keyWriteFlat, MethodHandle hashFlat, MethodHandle distinctFlatBlock, MethodHandle keyHashBlock, Type valueType, MethodHandle valueReadFlat, MethodHandle valueWriteFlat, boolean grouped) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voiddeserialize(int groupId, SingleMapBlock serializedState) longprotected voidserialize(int groupId, MapBlockBuilder out) voidsetMaxGroupId(int maxGroupId) Methods 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.multimapagg.MultimapAggregationState
add, merge, writeAll
-
Constructor Details
-
AbstractMultimapAggregationState
public AbstractMultimapAggregationState(Type keyType, MethodHandle keyReadFlat, MethodHandle keyWriteFlat, MethodHandle hashFlat, MethodHandle distinctFlatBlock, MethodHandle keyHashBlock, Type valueType, MethodHandle valueReadFlat, MethodHandle valueWriteFlat, boolean grouped) -
AbstractMultimapAggregationState
-
-
Method Details
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
setMaxGroupId
public void setMaxGroupId(int maxGroupId) -
serialize
-
deserialize
-
add
-