public static class Engine.CommitId extends Object implements Streamable
| Constructor and Description |
|---|
CommitId(org.apache.lucene.util.BytesRef id) |
CommitId(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
idsEqual(org.apache.lucene.util.BytesRef id) |
static Engine.CommitId |
readCommitID(Store store,
org.apache.lucene.index.SegmentInfos info) |
void |
readFrom(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public CommitId(org.apache.lucene.util.BytesRef id)
public CommitId(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic boolean idsEqual(org.apache.lucene.util.BytesRef id)
public static Engine.CommitId readCommitID(Store store, org.apache.lucene.index.SegmentInfos info) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.