Class TopNOperatorStatus

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

public class TopNOperatorStatus extends Object implements Operator.Status
  • Field Details

  • Constructor Details

    • TopNOperatorStatus

      public TopNOperatorStatus(long receiveNanos, long emitNanos, int occupiedRows, long ramBytesUsed, int pagesReceived, int pagesEmitted, long rowsReceived, long rowsEmitted)
  • 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
    • receiveNanos

      public long receiveNanos()
    • emitNanos

      public long emitNanos()
    • occupiedRows

      public int occupiedRows()
    • ramBytesUsed

      public long ramBytesUsed()
    • pagesReceived

      public int pagesReceived()
    • pagesEmitted

      public int pagesEmitted()
    • rowsReceived

      public long rowsReceived()
    • rowsEmitted

      public long rowsEmitted()
    • 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
    • getMinimalSupportedVersion

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