Module org.elasticsearch.server
Class DoubleScriptBlockDocValuesReader
java.lang.Object
org.elasticsearch.index.mapper.blockloader.script.BlockScriptReader
org.elasticsearch.index.mapper.blockloader.script.DoubleScriptBlockDocValuesReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Releasable,BlockLoader.Reader,BlockLoader.RowStrideReader
BlockDocValuesReader implementation for double scripts.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.blockloader.script.BlockScriptReader
BlockScriptReader.ScriptBlockLoader -
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.blockloader.script.BlockScriptReader
breaker -
Method Summary
Modifier and TypeMethodDescriptionintdocId()voidread(int docId, BlockLoader.StoredFields storedFields, BlockLoader.Builder b) Reads the values of the given document into the builder.toString()A string representation of theBlockLoader.Reader.Methods inherited from class org.elasticsearch.index.mapper.blockloader.script.BlockScriptReader
canReuse, close
-
Method Details
-
docId
public int docId()- Specified by:
docIdin classBlockScriptReader
-
read
public void read(int docId, BlockLoader.StoredFields storedFields, BlockLoader.Builder b) throws IOException Description copied from interface:BlockLoader.RowStrideReaderReads the values of the given document into the builder.- Throws:
IOException
-
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- Specified by:
toStringin classBlockScriptReader
-