public static class Translog.Delete extends Object implements Translog.Operation
Translog.Operation.Type
Modifier and Type | Field and Description |
---|---|
static int |
SERIALIZATION_FORMAT |
Constructor and Description |
---|
Translog.Delete() |
Translog.Delete(Engine.Delete delete) |
Translog.Delete(org.apache.lucene.index.Term uid) |
Translog.Delete(org.apache.lucene.index.Term uid,
long version,
VersionType versionType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
estimateSize() |
Translog.Source |
getSource() |
int |
hashCode() |
Translog.Operation.Type |
opType() |
void |
readFrom(StreamInput in) |
String |
toString() |
org.apache.lucene.index.Term |
uid() |
long |
version() |
VersionType |
versionType() |
void |
writeTo(StreamOutput out) |
public static final int SERIALIZATION_FORMAT
public Translog.Delete()
public Translog.Delete(Engine.Delete delete)
public Translog.Delete(org.apache.lucene.index.Term uid)
public Translog.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 IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2016. All rights reserved.