Package org.elasticsearch.index.engine
Class Engine.CommitId
java.lang.Object
org.elasticsearch.index.engine.Engine.CommitId
- All Implemented Interfaces:
Writeable
- Enclosing class:
- Engine
public static class Engine.CommitId extends java.lang.Object implements Writeable
-
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
Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
boolean
idsEqual(byte[] id)
java.lang.String
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
idsEqual
public boolean idsEqual(byte[] id) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-