Module org.elasticsearch.server
Class BlockDocValuesReader.DocValuesBlockLoader
java.lang.Object
org.elasticsearch.index.mapper.blockloader.docvalues.BlockDocValuesReader.DocValuesBlockLoader
- All Implemented Interfaces:
BlockLoader
- Direct Known Subclasses:
AbstractBooleansBlockLoader,AbstractBytesRefsFromOrdsBlockLoader,AbstractDoublesFromDocValuesBlockLoader,AbstractIntsFromDocValuesBlockLoader,AbstractLongsFromDocValuesBlockLoader,AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType.BoundsBlockLoader,BytesRefsFromBinaryBlockLoader,BytesRefsFromCustomBinaryBlockLoader,DenseVectorBlockLoader,DenseVectorFromBinaryBlockLoader,Utf8CodePointsFromOrdsBlockLoader
- Enclosing class:
BlockDocValuesReader
public abstract static class BlockDocValuesReader.DocValuesBlockLoader
extends Object
implements BlockLoader
-
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.ExponentialHistogramBuilder, BlockLoader.FloatBuilder, BlockLoader.IntBuilder, BlockLoader.LongBuilder, BlockLoader.OptionalColumnAtATimeReader, BlockLoader.Reader, BlockLoader.RowStrideReader, BlockLoader.SingletonBytesRefBuilder, BlockLoader.SingletonDoubleBuilder, BlockLoader.SingletonIntBuilder, BlockLoader.SingletonLongBuilder, BlockLoader.SingletonOrdinalsBuilder, BlockLoader.SortedSetOrdinalsBuilder, BlockLoader.StoredFields -
Field Summary
Fields inherited from interface org.elasticsearch.index.mapper.BlockLoader
CONSTANT_NULLS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumnAtATimeReader(org.apache.lucene.index.LeafReaderContext context) org.apache.lucene.index.SortedSetDocValuesordinals(org.apache.lucene.index.LeafReaderContext context) Load ordinals for the provided context.abstract BlockLoader.AllReaderreader(org.apache.lucene.index.LeafReaderContext context) rowStrideReader(org.apache.lucene.index.LeafReaderContext context) final StoredFieldsSpecbooleanDoes 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
builder, convert
-
Constructor Details
-
DocValuesBlockLoader
public DocValuesBlockLoader()
-
-
Method Details
-
reader
public abstract BlockLoader.AllReader reader(org.apache.lucene.index.LeafReaderContext context) throws IOException - Throws:
IOException
-
columnAtATimeReader
public final BlockLoader.ColumnAtATimeReader columnAtATimeReader(org.apache.lucene.index.LeafReaderContext context) throws IOException - Specified by:
columnAtATimeReaderin interfaceBlockLoader- Throws:
IOException
-
rowStrideReader
public final BlockLoader.RowStrideReader rowStrideReader(org.apache.lucene.index.LeafReaderContext context) throws IOException - Specified by:
rowStrideReaderin interfaceBlockLoader- Throws:
IOException
-
rowStrideStoredFieldSpec
- Specified by:
rowStrideStoredFieldSpecin interfaceBlockLoader
-
supportsOrdinals
public 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 org.apache.lucene.index.SortedSetDocValues ordinals(org.apache.lucene.index.LeafReaderContext context) throws IOException Description copied from interface:BlockLoaderLoad ordinals for the provided context.- Specified by:
ordinalsin interfaceBlockLoader- Throws:
IOException
-