Class XDocValuesConsumer
- All Implemented Interfaces:
Closeable,AutoCloseable
DocValuesConsumer that ES819TSDBDocValuesConsumer needs.
This class should be removed when merging logic in DocValuesConsumer becomes accessible / overwritable in Lucene.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmergeBinaryField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) Merges the binary docvalues fromMergeState.voidmergeNumericField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) Merges the numeric docvalues fromMergeState.voidmergeSortedField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo fieldInfo, org.apache.lucene.index.MergeState mergeState) Merges the sorted docvalues fromtoMerge.voidmergeSortedNumericField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) Merges the sorted docvalues fromtoMerge.voidmergeSortedSetField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) Merges the sortedset docvalues fromtoMerge.Methods inherited from class org.apache.lucene.codecs.DocValuesConsumer
addBinaryField, addNumericField, addSortedField, addSortedNumericField, addSortedSetField, isSingleValued, merge, mergeBinaryField, mergeNumericField, mergeSortedField, mergeSortedNumericField, mergeSortedSetField, singletonView
-
Constructor Details
-
XDocValuesConsumer
protected XDocValuesConsumer()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
mergeNumericField
public void mergeNumericField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) throws IOException Merges the numeric docvalues fromMergeState.The default implementation calls
DocValuesConsumer.addNumericField(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.DocValuesProducer), passing a DocValuesProducer that merges and filters deleted documents on the fly.- Throws:
IOException
-
mergeBinaryField
public void mergeBinaryField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) throws IOException Merges the binary docvalues fromMergeState.The default implementation calls
DocValuesConsumer.addBinaryField(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.DocValuesProducer), passing a DocValuesProducer that merges and filters deleted documents on the fly.- Throws:
IOException
-
mergeSortedNumericField
public void mergeSortedNumericField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) throws IOException Merges the sorted docvalues fromtoMerge.The default implementation calls
DocValuesConsumer.addSortedNumericField(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.DocValuesProducer), passing iterables that filter deleted documents.- Throws:
IOException
-
mergeSortedField
public void mergeSortedField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo fieldInfo, org.apache.lucene.index.MergeState mergeState) throws IOException Merges the sorted docvalues fromtoMerge.The default implementation calls
DocValuesConsumer.addSortedField(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.DocValuesProducer), passing an Iterable that merges ordinals and values and filters deleted documents .- Throws:
IOException
-
mergeSortedSetField
public void mergeSortedSetField(org.elasticsearch.index.codec.tsdb.es819.DocValuesConsumerUtil.MergeStats mergeStats, org.apache.lucene.index.FieldInfo mergeFieldInfo, org.apache.lucene.index.MergeState mergeState) throws IOException Merges the sortedset docvalues fromtoMerge.The default implementation calls
DocValuesConsumer.addSortedSetField(org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.DocValuesProducer), passing an Iterable that merges ordinals and values and filters deleted documents .- Throws:
IOException
-