Module org.elasticsearch.server
Class TSDBSyntheticIdFieldsProducer
java.lang.Object
org.apache.lucene.index.Fields
org.apache.lucene.codecs.FieldsProducer
org.elasticsearch.index.codec.tsdb.TSDBSyntheticIdFieldsProducer
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<String>
public class TSDBSyntheticIdFieldsProducer
extends org.apache.lucene.codecs.FieldsProducer
Produces synthetic _id terms that are computed at runtime from the doc values of other fields like _tsid, @timestamp and
_ts_routing_hash.
-
Field Summary
Fields inherited from class org.apache.lucene.index.Fields
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionTSDBSyntheticIdFieldsProducer(org.apache.lucene.index.SegmentReadState state, org.apache.lucene.codecs.DocValuesProducer docValuesProducer) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TSDBSyntheticIdFieldsProducer
public TSDBSyntheticIdFieldsProducer(org.apache.lucene.index.SegmentReadState state, org.apache.lucene.codecs.DocValuesProducer docValuesProducer)
-
-
Method Details
-
size
public int size()- Specified by:
sizein classorg.apache.lucene.index.Fields
-
iterator
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classorg.apache.lucene.codecs.FieldsProducer- Throws:
IOException
-
checkIntegrity
- Specified by:
checkIntegrityin classorg.apache.lucene.codecs.FieldsProducer- Throws:
IOException
-
getMergeInstance
public org.apache.lucene.codecs.FieldsProducer getMergeInstance()- Overrides:
getMergeInstancein classorg.apache.lucene.codecs.FieldsProducer
-
terms
- Specified by:
termsin classorg.apache.lucene.index.Fields- Throws:
IOException
-