java.lang.Object
org.elasticsearch.common.lucene.uid.VersionsAndSeqNoResolver.DocIdAndVersion
- Enclosing class:
- VersionsAndSeqNoResolver
public static class VersionsAndSeqNoResolver.DocIdAndVersion
extends Object
Wraps an LeafReaderContext
, a doc ID relative to the context doc base and a version.
-
Field Summary
Fields
int
int
long
org.apache.lucene.index.LeafReader
long
long
-
Constructor Summary
Constructors
DocIdAndVersion(int docId,
long version,
long seqNo,
long primaryTerm,
org.apache.lucene.index.LeafReader reader,
int docBase)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
docId
public final int docId
-
version
public final long version
-
seqNo
public final long seqNo
-
primaryTerm
public final long primaryTerm
-
reader
public final org.apache.lucene.index.LeafReader reader
-
docBase
public final int docBase
-
Constructor Details
-
DocIdAndVersion
public DocIdAndVersion(int docId,
long version,
long seqNo,
long primaryTerm,
org.apache.lucene.index.LeafReader reader,
int docBase)