Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Interface BlockLoader.RowStrideReader
- All Superinterfaces:
AutoCloseable,BlockLoader.Reader,Closeable,Releasable
- All Known Implementing Classes:
BlockScriptReader,BlockSourceReader,BlockStoredFieldsReader,BlockStoredFieldsReader.Bytes,BooleanScriptBlockDocValuesReader,BytesRefsFromBinaryBlockLoader.BytesRefsFromBinary,BytesRefsFromCustomBinaryBlockLoader.AbstractBytesRefsFromBinary,DateScriptBlockDocValuesReader,DoubleScriptBlockDocValuesReader,IpScriptBlockDocValuesReader,KeywordScriptBlockDocValuesReader,LongScriptBlockDocValuesReader
- Enclosing interface:
BlockLoader
Load the values for one row at a time.
It's important that these have a nice BlockLoader.Reader.toString(). It's used
in the profile.
-
Method Summary
Modifier and TypeMethodDescriptionvoidread(int docId, BlockLoader.StoredFields storedFields, BlockLoader.Builder builder) Reads the values of the given document into the builder.Methods inherited from interface org.elasticsearch.index.mapper.BlockLoader.Reader
canReuse, toStringMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
read
void read(int docId, BlockLoader.StoredFields storedFields, BlockLoader.Builder builder) throws IOException Reads the values of the given document into the builder.- Throws:
IOException
-