Class AbstractTSDBDocValuesProducer.BaseDenseNumericValues

java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.NumericDocValues
org.elasticsearch.index.codec.tsdb.AbstractTSDBDocValuesProducer.BaseDenseNumericValues
All Implemented Interfaces:
BlockLoader.OptionalColumnAtATimeReader
Enclosing class:
AbstractTSDBDocValuesProducer

public abstract static class AbstractTSDBDocValuesProducer.BaseDenseNumericValues extends org.apache.lucene.index.NumericDocValues implements BlockLoader.OptionalColumnAtATimeReader
  • Field Details

    • doc

      protected int doc
  • Method Details

    • docID

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

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

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

      public final boolean advanceExact(int target)
    • cost

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

      public BlockLoader.Block tryRead(BlockLoader.BlockFactory factory, BlockLoader.Docs docs, int offset, boolean nullsFiltered, BlockDocValuesReader.ToDouble toDouble, boolean toInt, boolean binaryMultiValuedFormat) throws IOException
      Description copied from interface: BlockLoader.OptionalColumnAtATimeReader
      Attempts to read the values of all documents in docs Returns null if unable to load the values.
      Specified by:
      tryRead in interface BlockLoader.OptionalColumnAtATimeReader
      Parameters:
      nullsFiltered - if true, then target docs are guaranteed to have a value for the field. see BlockLoader.ColumnAtATimeReader.read(BlockFactory, Docs, int, boolean)
      toDouble - a function to convert long values to double, or null if no conversion is needed/supported
      toInt - whether to convert to int in case int block / vector is needed
      binaryMultiValuedFormat - whether the multi-valued binary format is used (CustomBinaryDocValuesField).
      Throws:
      IOException