Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class BlockStoredFieldsReader
java.lang.Object
org.elasticsearch.index.mapper.BlockStoredFieldsReader
- All Implemented Interfaces:
BlockLoader.Reader
,BlockLoader.RowStrideReader
Loads values from
IndexReader.storedFields()
. This whole process is very slow
and cast-tastic, so it doesn't really try to avoid megamorphic invocations. It's
just going to be slow.
Note that this extends BlockDocValuesReader
because it pretends to load
doc values because, for now, ESQL only knows how to load things in a doc values
order.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canReuse
(int startingDocID) Checks if the reader can be used to read a range documents starting with the given docID by the current thread.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.mapper.BlockLoader.RowStrideReader
read
-
Constructor Details
-
BlockStoredFieldsReader
public BlockStoredFieldsReader()
-
-
Method Details
-
canReuse
public boolean canReuse(int startingDocID) Description copied from interface:BlockLoader.Reader
Checks if the reader can be used to read a range documents starting with the given docID by the current thread.- Specified by:
canReuse
in interfaceBlockLoader.Reader
-