Class LuceneOperator

java.lang.Object
org.elasticsearch.compute.operator.SourceOperator
org.elasticsearch.compute.lucene.LuceneOperator
All Implemented Interfaces:
Closeable, AutoCloseable, Operator, org.elasticsearch.core.Releasable
Direct Known Subclasses:
LuceneCountOperator, LuceneSourceOperator, LuceneTopNSourceOperator

public abstract class LuceneOperator extends SourceOperator
  • Field Details

  • Constructor Details

  • Method Details

    • getOutput

      public final Page getOutput()
      Description copied from interface: Operator
      returns non-null if output page available. Only called when isFinished() == false
    • getCheckedOutput

      protected abstract Page getCheckedOutput() throws IOException
      Throws:
      IOException
    • close

      public void close()
      Description copied from interface: Operator
      notifies the operator that it won't be used anymore (i.e. none of the other methods called), and its resources can be cleaned up
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • describe

      protected abstract void describe(StringBuilder sb)
    • status

      public Operator.Status status()
      Description copied from interface: Operator
      The status of the operator.