Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class BlockStoredFieldsReader.BytesFromBytesRefsBlockLoader
java.lang.Object
org.elasticsearch.index.mapper.BlockStoredFieldsReader.BytesFromBytesRefsBlockLoader
- All Implemented Interfaces:
BlockLoader
- Enclosing class:
BlockStoredFieldsReader
Load
BytesRef blocks from stored BytesRefs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.mapper.BlockLoader
BlockLoader.AggregateMetricDoubleBuilder, BlockLoader.AllReader, BlockLoader.Block, BlockLoader.BlockFactory, BlockLoader.BooleanBuilder, BlockLoader.Builder, BlockLoader.BytesRefBuilder, BlockLoader.ColumnAtATimeReader, BlockLoader.ConstantNullsReader, BlockLoader.Delegating, BlockLoader.Docs, BlockLoader.DoubleBuilder, BlockLoader.FloatBuilder, BlockLoader.IntBuilder, BlockLoader.LongBuilder, BlockLoader.Reader, BlockLoader.RowStrideReader, BlockLoader.SingletonOrdinalsBuilder, BlockLoader.StoredFields -
Field Summary
FieldsFields inherited from interface org.elasticsearch.index.mapper.BlockLoader
CONSTANT_NULLS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder(BlockLoader.BlockFactory factory, int expectedCount) TheBlockLoader.Builderfor data of this type.columnAtATimeReader(org.apache.lucene.index.LeafReaderContext context) final org.apache.lucene.index.SortedSetDocValuesordinals(org.apache.lucene.index.LeafReaderContext context) Load ordinals for the provided context.rowStrideReader(org.apache.lucene.index.LeafReaderContext context) final StoredFieldsSpecfinal booleanDoes this loader support loading bytes via callingBlockLoader.ordinals(org.apache.lucene.index.LeafReaderContext).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.index.mapper.BlockLoader
convert
-
Field Details
-
field
-
-
Constructor Details
-
BytesFromBytesRefsBlockLoader
-
-
Method Details
-
builder
Description copied from interface:BlockLoaderTheBlockLoader.Builderfor data of this type. Called when loading from a multi-segment or unsorted block. -
rowStrideReader
public BlockLoader.RowStrideReader rowStrideReader(org.apache.lucene.index.LeafReaderContext context) throws IOException - Throws:
IOException
-
columnAtATimeReader
public final BlockLoader.ColumnAtATimeReader columnAtATimeReader(org.apache.lucene.index.LeafReaderContext context) - Specified by:
columnAtATimeReaderin interfaceBlockLoader
-
rowStrideStoredFieldSpec
- Specified by:
rowStrideStoredFieldSpecin interfaceBlockLoader
-
supportsOrdinals
public final boolean supportsOrdinals()Description copied from interface:BlockLoaderDoes this loader support loading bytes via callingBlockLoader.ordinals(org.apache.lucene.index.LeafReaderContext).- Specified by:
supportsOrdinalsin interfaceBlockLoader
-
ordinals
public final org.apache.lucene.index.SortedSetDocValues ordinals(org.apache.lucene.index.LeafReaderContext context) Description copied from interface:BlockLoaderLoad ordinals for the provided context.- Specified by:
ordinalsin interfaceBlockLoader
-