Class LimitOperator.Status

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

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

  • Constructor Details

    • Status

      protected Status(int limit, int limitRemaining, int pagesProcessed, long rowsReceived, long rowsEmitted)
    • 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
    • limit

      public int limit()
      Total number of position that are emitted by this operator.
    • limitRemaining

      public int limitRemaining()
      Count of pages that have been processed by this operator.
    • pagesProcessed

      public int pagesProcessed()
      Count of pages that have been processed by this operator.
    • 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