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
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY, EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Status(long hashNanos, long aggregationNanos, int pagesProcessed, long rowsReceived, long rowsEmitted, long emitNanos)
    Build.
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Nanoseconds this operator has spent running the aggregations.
    long
    Nanoseconds this operator has spent emitting the output.
    boolean
     
     
     
    int
     
    long
    Nanoseconds this operator has spent hashing grouping keys.
    int
    Count of pages this operator has processed.
    long
    Count of rows this operator has emitted.
    long
    Count of rows this operator has received.
     
    org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.compute.operator.Operator.Status

    documentsFound, valuesLoaded

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • 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