Module org.elasticsearch.server
Class TsdbDocValuesProducer
java.lang.Object
org.apache.lucene.codecs.DocValuesProducer
org.apache.lucene.index.EmptyDocValuesProducer
org.elasticsearch.index.codec.tsdb.TsdbDocValuesProducer
- All Implemented Interfaces:
Closeable,AutoCloseable
public class TsdbDocValuesProducer
extends org.apache.lucene.index.EmptyDocValuesProducer
Wraps a
DocValuesProducer to carry pre-computed DocValuesConsumerUtil.MergeStats
through the optimized merge path. When wrapping another TsdbDocValuesProducer, the merge
stats are carried over to avoid recomputation.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTsdbDocValuesProducer(org.apache.lucene.codecs.DocValuesProducer valuesProducer) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.index.SortedDocValuesgetSorted(org.apache.lucene.index.FieldInfo field) org.apache.lucene.index.SortedNumericDocValuesgetSortedNumeric(org.apache.lucene.index.FieldInfo field) org.apache.lucene.index.SortedSetDocValuesgetSortedSet(org.apache.lucene.index.FieldInfo field) Methods inherited from class org.apache.lucene.index.EmptyDocValuesProducer
checkIntegrity, close, getBinary, getNumeric, getSkipperMethods inherited from class org.apache.lucene.codecs.DocValuesProducer
getMergeInstance
-
Field Details
-
mergeStats
-
-
Constructor Details
-
TsdbDocValuesProducer
-
TsdbDocValuesProducer
public TsdbDocValuesProducer(org.apache.lucene.codecs.DocValuesProducer valuesProducer)
-
-
Method Details
-
getSorted
public org.apache.lucene.index.SortedDocValues getSorted(org.apache.lucene.index.FieldInfo field) throws IOException - Overrides:
getSortedin classorg.apache.lucene.index.EmptyDocValuesProducer- Throws:
IOException
-
getSortedSet
public org.apache.lucene.index.SortedSetDocValues getSortedSet(org.apache.lucene.index.FieldInfo field) throws IOException - Overrides:
getSortedSetin classorg.apache.lucene.index.EmptyDocValuesProducer- Throws:
IOException
-
getSortedNumeric
public org.apache.lucene.index.SortedNumericDocValues getSortedNumeric(org.apache.lucene.index.FieldInfo field) throws IOException - Overrides:
getSortedNumericin classorg.apache.lucene.index.EmptyDocValuesProducer- Throws:
IOException
-