Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class BlockLoaderStoredFieldsFromLeafLoader
java.lang.Object
org.elasticsearch.index.mapper.BlockLoaderStoredFieldsFromLeafLoader
- All Implemented Interfaces:
BlockLoader.StoredFields
public class BlockLoaderStoredFieldsFromLeafLoader
extends Object
implements BlockLoader.StoredFields
-
Constructor Summary
ConstructorsConstructorDescriptionBlockLoaderStoredFieldsFromLeafLoader
(LeafStoredFieldLoader loader, SourceLoader.Leaf sourceLoader) -
Method Summary
-
Constructor Details
-
BlockLoaderStoredFieldsFromLeafLoader
public BlockLoaderStoredFieldsFromLeafLoader(LeafStoredFieldLoader loader, SourceLoader.Leaf sourceLoader)
-
-
Method Details
-
advanceTo
public void advanceTo(int docId) -
source
Description copied from interface:BlockLoader.StoredFields
The_source
of the document.- Specified by:
source
in interfaceBlockLoader.StoredFields
- Throws:
IOException
-
id
- Specified by:
id
in interfaceBlockLoader.StoredFields
- Returns:
- the ID for the current document
- Throws:
IOException
-
routing
- Specified by:
routing
in interfaceBlockLoader.StoredFields
- Returns:
- the routing path for the current document
- Throws:
IOException
-
storedFields
- Specified by:
storedFields
in interfaceBlockLoader.StoredFields
- Returns:
- stored fields for the current document
- Throws:
IOException
-