Module org.elasticsearch.compute
Class AllFirstDoubleByLongAggregator.GroupingState
java.lang.Object
org.elasticsearch.compute.aggregation.AbstractArrayState
org.elasticsearch.compute.aggregation.AbstractAllByKeyGroupingState
org.elasticsearch.compute.aggregation.AbstractAllByLongGroupingState
org.elasticsearch.compute.aggregation.AllFirstDoubleByLongAggregator.GroupingState
- All Implemented Interfaces:
Closeable,AutoCloseable,GroupingAggregatorState,Releasable
- Enclosing class:
AllFirstDoubleByLongAggregator
public static final class AllFirstDoubleByLongAggregator.GroupingState
extends AbstractAllByLongGroupingState
-
Field Summary
Fields inherited from class org.elasticsearch.compute.aggregation.AbstractArrayState
bigArrays -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidgrow(int group) Called when a new group id is seen to grow subclass arrays to accommodategroup.voidtoIntermediate(Block[] blocks, int offset, IntVector selected, DriverContext driverContext) Methods inherited from class org.elasticsearch.compute.aggregation.AbstractAllByLongGroupingState
key, keyMethods inherited from class org.elasticsearch.compute.aggregation.AbstractAllByKeyGroupingState
clearNullKey, clearNullValue, markNullKey, markNullValue, nullKey, nullValueMethods inherited from class org.elasticsearch.compute.aggregation.AbstractArrayState
enableGroupIdTracking, hasValue, trackGroupId, trackingGroupIds
-
Method Details
-
grow
protected void grow(int group) Description copied from class:AbstractAllByKeyGroupingStateCalled when a new group id is seen to grow subclass arrays to accommodategroup. BothAbstractAllByKeyGroupingState.nullValueandAbstractAllByKeyGroupingState.nullKeyare lazyBitArrays that handle out-of-range indices safely, so no grow is needed in this base class.- Overrides:
growin classAbstractAllByLongGroupingState
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceReleasable- Overrides:
closein classAbstractAllByLongGroupingState
-
toIntermediate
public void toIntermediate(Block[] blocks, int offset, IntVector selected, DriverContext driverContext) - Specified by:
toIntermediatein classAbstractArrayState
-