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
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public boolean idsEqual(org.apache.lucene.util.BytesRef id)
public static Engine.CommitId readCommitID(Store store, org.apache.lucene.index.SegmentInfos info) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.