Class AbstractSortingNumericDocValues

java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedNumericDocValues
org.elasticsearch.index.fielddata.SortingNumericDocValues
org.elasticsearch.index.fielddata.AbstractSortingNumericDocValues
Direct Known Subclasses:
ScriptLongValues

public abstract class AbstractSortingNumericDocValues extends SortingNumericDocValues
Base implementation that throws an IOException for the DocIdSetIterator APIs. This impl is safe to use for sorting and aggregations, which only use advanceExact(int) and SortingNumericDocValues.docValueCount() and SortingNumericDocValues.nextValue().
  • Constructor Details

    • AbstractSortingNumericDocValues

      public AbstractSortingNumericDocValues()
    • AbstractSortingNumericDocValues

      public AbstractSortingNumericDocValues(LongConsumer circuitBreakerConsumer)
  • Method Details

    • docID

      public int docID()
      Specified by:
      docID in class org.apache.lucene.search.DocIdSetIterator
    • nextDoc

      public int nextDoc() throws IOException
      Specified by:
      nextDoc in class org.apache.lucene.search.DocIdSetIterator
      Throws:
      IOException
    • advance

      public int advance(int target) throws IOException
      Specified by:
      advance in class org.apache.lucene.search.DocIdSetIterator
      Throws:
      IOException
    • cost

      public long cost()
      Specified by:
      cost in class org.apache.lucene.search.DocIdSetIterator
    • advanceExact

      public abstract boolean advanceExact(int arg0) throws IOException
      Throws:
      IOException