Class AggregationOperator.Status

java.lang.Object
org.elasticsearch.compute.operator.AggregationOperator.Status
All Implemented Interfaces:
NamedWriteable, VersionedNamedWriteable, Writeable, Operator.Status, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Enclosing class:
AggregationOperator

public static class AggregationOperator.Status extends Object implements Operator.Status
  • Field Details

  • Constructor Details

    • Status

      public Status(long aggregationNanos, long aggregationFinishNanos, int pagesProcessed, long rowsReceived, long rowsEmitted)
      Build.
      Parameters:
      aggregationNanos - Nanoseconds this operator has spent running the aggregations.
      aggregationFinishNanos - Nanoseconds this operator has spent running the aggregations.
      pagesProcessed - Count of pages this operator has processed.
    • Status

      protected Status(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • getWriteableName

      public String getWriteableName()
      Specified by:
      getWriteableName in interface NamedWriteable
      Specified by:
      getWriteableName in interface VersionedNamedWriteable
    • aggregationNanos

      public long aggregationNanos()
      Nanoseconds this operator has spent running the aggregations.
    • aggregationFinishNanos

      public long aggregationFinishNanos()
      Nanoseconds this operator has spent running the aggregations final evaluation.
    • pagesProcessed

      public int pagesProcessed()
      Count of pages this operator has processed.
    • rowsReceived

      public long rowsReceived()
      Count of rows this operator has received.
    • rowsEmitted

      public long rowsEmitted()
      Count of rows this operator has emitted.
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMinimalSupportedVersion

      public TransportVersion getMinimalSupportedVersion()
      Specified by:
      getMinimalSupportedVersion in interface VersionedNamedWriteable