Package org.elasticsearch.index.engine
Class Engine.CommitId
- java.lang.Object
-
- org.elasticsearch.index.engine.Engine.CommitId
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description CommitId(byte[] id)CommitId(StreamInput in)Read from a stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()booleanidsEqual(byte[] id)java.lang.StringtoString()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
-
-
Constructor Detail
-
CommitId
public CommitId(byte[] id)
-
CommitId
public CommitId(StreamInput in) throws java.io.IOException
Read from a stream.- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:WriteableWrite this into the StreamOutput.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
idsEqual
public boolean idsEqual(byte[] id)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-