Module org.elasticsearch.server
Class BlockDocValuesReader
java.lang.Object
org.elasticsearch.index.mapper.blockloader.docvalues.BlockDocValuesReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Releasable,BlockLoader.ColumnAtATimeReader,BlockLoader.Reader
- Direct Known Subclasses:
AbstractBooleansBlockLoader.Singleton,AbstractBytesRefsFromOrdsBlockLoader.Singleton,AbstractBytesRefsFromOrdsBlockLoader.SortedSet,AbstractDoublesFromDocValuesBlockLoader.Singleton,AbstractDoublesFromDocValuesBlockLoader.Sorted,AbstractIntsFromDocValuesBlockLoader.Singleton,AbstractIntsFromDocValuesBlockLoader.Sorted,AbstractLongsFromDocValuesBlockLoader.Singleton,AbstractLongsFromDocValuesBlockLoader.Sorted,BytesRefsFromCustomBinaryBlockLoader.AbstractBytesRefsFromBinary,MultiValuedBinaryWithSeparateCountsLengthReader
public abstract class BlockDocValuesReader
extends Object
implements BlockLoader.ColumnAtATimeReader
A reader that supports reading doc-values from a Lucene segment in Block fashion.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic interfaceConvert from the storedinto theinvalid reference
longto load.invalid reference
double -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancanReuse(int startingDocID) Checks if the reader can be used to read a range documents starting with the given docID by the current thread.protected abstract intdocId()abstract StringtoString()A string representation of theBlockLoader.Reader.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.index.mapper.BlockLoader.ColumnAtATimeReader
readMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Field Details
-
breaker
-
-
Constructor Details
-
BlockDocValuesReader
-
-
Method Details
-
docId
protected abstract int docId() -
canReuse
public final boolean canReuse(int startingDocID) Checks if the reader can be used to read a range documents starting with the given docID by the current thread.- Specified by:
canReusein interfaceBlockLoader.Reader
-
toString
Description copied from interface:BlockLoader.ReaderA string representation of theBlockLoader.Reader. It's important that this have a nice implementation because this is used in theprofile.- Specified by:
toStringin interfaceBlockLoader.Reader- Overrides:
toStringin classObject
-