Module org.elasticsearch.server
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 Summary
FieldsFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Method Summary
Modifier and TypeMethodDescriptionfinal intadvance(int target) final booleanadvanceExact(int target) final longcost()final intdocID()final intnextDoc()tryRead(BlockLoader.BlockFactory factory, BlockLoader.Docs docs, int offset, boolean nullsFiltered, BlockDocValuesReader.ToDouble toDouble, boolean toInt, boolean binaryMultiValuedFormat) Attempts to read the values of all documents indocsReturnsnullif unable to load the values.Methods inherited from class org.apache.lucene.index.NumericDocValues
longValue, longValuesMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, docIDRunEnd, empty, intoBitSet, range, slowAdvanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.index.mapper.BlockLoader.OptionalColumnAtATimeReader
tryContainsIterator
-
Field Details
-
doc
protected int doc
-
-
Method Details
-
docID
public final int docID()- Specified by:
docIDin classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
- Specified by:
nextDocin classorg.apache.lucene.search.DocIdSetIterator- Throws:
IOException
-
advance
- Specified by:
advancein classorg.apache.lucene.search.DocIdSetIterator- Throws:
IOException
-
advanceExact
public final boolean advanceExact(int target) -
cost
public final long cost()- Specified by:
costin classorg.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.OptionalColumnAtATimeReaderAttempts to read the values of all documents indocsReturnsnullif unable to load the values.- Specified by:
tryReadin interfaceBlockLoader.OptionalColumnAtATimeReader- Parameters:
nullsFiltered- iftrue, then target docs are guaranteed to have a value for the field. seeBlockLoader.ColumnAtATimeReader.read(BlockFactory, Docs, int, boolean)toDouble- a function to convert long values to double, or null if no conversion is needed/supportedtoInt- whether to convert to int in case int block / vector is neededbinaryMultiValuedFormat- whether the multi-valued binary format is used (CustomBinaryDocValuesField).- Throws:
IOException
-