public static class Translog.Delete extends java.lang.Object implements Translog.Operation
Translog.Operation.Type
Modifier and Type | Field and Description |
---|---|
static int |
SERIALIZATION_FORMAT |
Constructor and Description |
---|
Delete() |
Delete(Engine.Delete delete) |
Delete(org.apache.lucene.index.Term uid) |
Delete(org.apache.lucene.index.Term uid,
long version,
VersionType versionType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
estimateSize() |
Translog.Source |
getSource() |
int |
hashCode() |
Translog.Operation.Type |
opType() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
org.apache.lucene.index.Term |
uid() |
long |
version() |
VersionType |
versionType() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public static final int SERIALIZATION_FORMAT
public Delete()
public Delete(Engine.Delete delete)
public Delete(org.apache.lucene.index.Term uid)
public Delete(org.apache.lucene.index.Term uid, long version, VersionType versionType)
public Translog.Operation.Type opType()
opType
in interface Translog.Operation
public long estimateSize()
estimateSize
in interface Translog.Operation
public org.apache.lucene.index.Term uid()
public long version()
public VersionType versionType()
public Translog.Source getSource()
getSource
in interface Translog.Operation
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object