Class HashAggregationOperator.Status

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

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

  • Constructor Details

    • Status

      public Status(long hashNanos, long aggregationNanos, int pagesProcessed, long rowsReceived, long rowsEmitted, long emitNanos)
      Build.
      Parameters:
      hashNanos - Nanoseconds this operator has spent hashing grouping keys.
      aggregationNanos - Nanoseconds this operator has spent running the aggregations.
      pagesProcessed - Count of pages this operator has processed.
      rowsReceived - Count of rows this operator has received.
      rowsEmitted - Count of rows this operator has emitted.
      emitNanos - Nanoseconds this operator has spent emitting the output.
    • 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
    • hashNanos

      public long hashNanos()
      Nanoseconds this operator has spent hashing grouping keys.
    • aggregationNanos

      public long aggregationNanos()
      Nanoseconds this operator has spent running the aggregations.
    • 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.
    • emitNanos

      public long emitNanos()
      Nanoseconds this operator has spent emitting the output.
    • 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