Module org.elasticsearch.compute
Class AbstractFallibleArrayState
java.lang.Object
org.elasticsearch.compute.aggregation.AbstractArrayState
org.elasticsearch.compute.aggregation.AbstractFallibleArrayState
- All Implemented Interfaces:
Closeable,AutoCloseable,GroupingAggregatorState,org.elasticsearch.core.Releasable
Base class that extends
AbstractArrayState to add failure tracking.
That is, when a group id fails, it is marked as failed in the state.
Most of this class subclasses are autogenerated.
-
Field Summary
Fields inherited from class org.elasticsearch.compute.aggregation.AbstractArrayState
bigArrays -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.compute.aggregation.AbstractArrayState
enableGroupIdTracking, hasValue, trackGroupId, trackingGroupIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.compute.aggregation.GroupingAggregatorState
toIntermediate
-
Constructor Details
-
AbstractFallibleArrayState
-
-
Method Details
-
anyFailure
protected final boolean anyFailure() -
setFailed
protected final void setFailed(int groupId) -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable- Overrides:
closein classAbstractArrayState
-