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

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    int
     
    int
    Total number of position that are emitted by this operator.
    int
    Count of pages that have been processed by this operator.
    int
    Count of pages that have been processed by this operator.
    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.xcontent.ToXContentObject

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