Class SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericDocValues

java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedNumericDocValues
org.elasticsearch.index.fielddata.SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericDocValues
All Implemented Interfaces:
SourceValueFetcherIndexFieldData.ValueFetcherDocValues
Direct Known Subclasses:
SourceValueFetcherMultiGeoPointIndexFieldData.SourceValueFetcherMultiGeoPointDocValues
Enclosing class:
SourceValueFetcherSortedNumericIndexFieldData

public static class SourceValueFetcherSortedNumericIndexFieldData.SourceValueFetcherSortedNumericDocValues extends org.apache.lucene.index.SortedNumericDocValues implements SourceValueFetcherIndexFieldData.ValueFetcherDocValues
  • Field Details

    • leafReaderContext

      protected final org.apache.lucene.index.LeafReaderContext leafReaderContext
    • valueFetcher

      protected final ValueFetcher valueFetcher
    • sourceProvider

      protected final SourceProvider sourceProvider
    • values

      protected final List<Long> values
    • iterator

      protected Iterator<Long> iterator
  • Constructor Details

    • SourceValueFetcherSortedNumericDocValues

      public SourceValueFetcherSortedNumericDocValues(org.apache.lucene.index.LeafReaderContext leafReaderContext, ValueFetcher valueFetcher, SourceProvider sourceProvider)
  • Method Details

    • advanceExact

      public boolean advanceExact(int doc) throws IOException
      Throws:
      IOException
    • docValueCount

      public int docValueCount()
      Specified by:
      docValueCount in class org.apache.lucene.index.SortedNumericDocValues
    • nextValue

      public long nextValue() throws IOException
      Specified by:
      nextValue in class org.apache.lucene.index.SortedNumericDocValues
      Throws:
      IOException
    • 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