Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class BlockDocValuesReader.DocValuesBlockLoader
java.lang.Object
org.elasticsearch.index.mapper.BlockDocValuesReader.DocValuesBlockLoader
- All Implemented Interfaces:
BlockLoader
- Direct Known Subclasses:
BlockDocValuesReader.BooleansBlockLoader
,BlockDocValuesReader.BytesRefsFromBinaryBlockLoader
,BlockDocValuesReader.BytesRefsFromOrdsBlockLoader
,BlockDocValuesReader.DoublesBlockLoader
,BlockDocValuesReader.IntsBlockLoader
,BlockDocValuesReader.LongsBlockLoader
- 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.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
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.SortedSetDocValues
ordinals
(org.apache.lucene.index.LeafReaderContext context) Load ordinals for the provided context.abstract BlockLoader.AllReader
reader
(org.apache.lucene.index.LeafReaderContext context) rowStrideReader
(org.apache.lucene.index.LeafReaderContext context) final StoredFieldsSpec
boolean
Does 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, wait
Methods 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:
columnAtATimeReader
in interfaceBlockLoader
- Throws:
IOException
-
rowStrideReader
public final BlockLoader.RowStrideReader rowStrideReader(org.apache.lucene.index.LeafReaderContext context) throws IOException - Specified by:
rowStrideReader
in interfaceBlockLoader
- Throws:
IOException
-
rowStrideStoredFieldSpec
- Specified by:
rowStrideStoredFieldSpec
in interfaceBlockLoader
-
supportsOrdinals
public boolean supportsOrdinals()Description copied from interface:BlockLoader
Does this loader support loading bytes via callingBlockLoader.ordinals(org.apache.lucene.index.LeafReaderContext)
.- Specified by:
supportsOrdinals
in interfaceBlockLoader
-
ordinals
public org.apache.lucene.index.SortedSetDocValues ordinals(org.apache.lucene.index.LeafReaderContext context) throws IOException Description copied from interface:BlockLoader
Load ordinals for the provided context.- Specified by:
ordinals
in interfaceBlockLoader
- Throws:
IOException
-