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

public abstract class AbstractFallibleArrayState extends AbstractArrayState
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.

  • Constructor Details

    • AbstractFallibleArrayState

      public AbstractFallibleArrayState(BigArrays bigArrays)
  • Method Details

    • anyFailure

      protected final boolean anyFailure()
    • setFailed

      protected final void setFailed(int groupId)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable
      Overrides:
      close in class AbstractArrayState