Class LuceneSourceOperator

All Implemented Interfaces:
Closeable, AutoCloseable, Operator, org.elasticsearch.core.Releasable

public class LuceneSourceOperator extends LuceneOperator
Source operator that incrementally runs Lucene searches
  • Constructor Details

    • LuceneSourceOperator

      public LuceneSourceOperator(List<? extends org.elasticsearch.core.RefCounted> shardContextCounters, BlockFactory blockFactory, int maxPageSize, LuceneSliceQueue sliceQueue, int limit, Limiter limiter, boolean needsScore)
  • Method Details

    • isFinished

      public boolean isFinished()
      Description copied from interface: Operator
      whether the operator has finished processing all input pages and made the corresponding output pages available
    • finish

      public void finish()
      Description copied from interface: Operator
      notifies the operator that it won't receive any more input pages
    • getCheckedOutput

      public Page getCheckedOutput() throws IOException
      Specified by:
      getCheckedOutput in class LuceneOperator
      Throws:
      IOException
    • additionalClose

      public void additionalClose()
      Overrides:
      additionalClose in class LuceneOperator
    • describe

      protected void describe(StringBuilder sb)
      Specified by:
      describe in class LuceneOperator