Class BlockStoredFieldsReader

java.lang.Object
org.elasticsearch.index.mapper.BlockStoredFieldsReader
All Implemented Interfaces:
BlockLoader.Reader, BlockLoader.RowStrideReader

public abstract class BlockStoredFieldsReader extends Object implements 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.
  • 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 interface BlockLoader.Reader