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 Details

  • Constructor Details

    • TsdbDocValuesProducer

      public TsdbDocValuesProducer(DocValuesConsumerUtil.MergeStats mergeStats)
    • 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:
      getSorted in class org.apache.lucene.index.EmptyDocValuesProducer
      Throws:
      IOException
    • getSortedSet

      public org.apache.lucene.index.SortedSetDocValues getSortedSet(org.apache.lucene.index.FieldInfo field) throws IOException
      Overrides:
      getSortedSet in class org.apache.lucene.index.EmptyDocValuesProducer
      Throws:
      IOException
    • getSortedNumeric

      public org.apache.lucene.index.SortedNumericDocValues getSortedNumeric(org.apache.lucene.index.FieldInfo field) throws IOException
      Overrides:
      getSortedNumeric in class org.apache.lucene.index.EmptyDocValuesProducer
      Throws:
      IOException