public static class Translog.Delete extends java.lang.Object implements Translog.Operation
Translog.Operation.Type
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_5_0 |
static int |
SERIALIZATION_FORMAT |
Constructor and Description |
---|
Delete(Engine.Delete delete,
Engine.DeleteResult deleteResult) |
Delete(StreamInput in) |
Delete(java.lang.String type,
java.lang.String id,
long seqNo,
org.apache.lucene.index.Term uid)
utility for testing
|
Delete(java.lang.String type,
java.lang.String id,
org.apache.lucene.index.Term uid,
long seqNo,
long primaryTerm,
long version,
VersionType versionType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
estimateSize() |
Translog.Source |
getSource() |
int |
hashCode() |
java.lang.String |
id() |
Translog.Operation.Type |
opType() |
long |
primaryTerm() |
long |
seqNo() |
java.lang.String |
toString() |
java.lang.String |
type() |
org.apache.lucene.index.Term |
uid() |
long |
version() |
VersionType |
versionType() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
readType, writeType
public static final int FORMAT_5_0
public static final int SERIALIZATION_FORMAT
public Delete(StreamInput in) throws java.io.IOException
java.io.IOException
public Delete(Engine.Delete delete, Engine.DeleteResult deleteResult)
public Delete(java.lang.String type, java.lang.String id, long seqNo, org.apache.lucene.index.Term uid)
public Delete(java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid, long seqNo, long primaryTerm, long version, VersionType versionType)
public Translog.Operation.Type opType()
opType
in interface Translog.Operation
public long estimateSize()
estimateSize
in interface Translog.Operation
public java.lang.String type()
public java.lang.String id()
public org.apache.lucene.index.Term uid()
public long seqNo()
seqNo
in interface Translog.Operation
public long primaryTerm()
primaryTerm
in interface Translog.Operation
public long version()
public VersionType versionType()
public Translog.Source getSource()
getSource
in interface Translog.Operation
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
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