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 |
|---|
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 |
|---|---|
long |
estimateSize() |
Translog.Source |
getSource() |
Translog.Operation.Type |
opType() |
void |
readFrom(StreamInput in) |
org.apache.lucene.index.Term |
uid() |
long |
version() |
VersionType |
versionType() |
void |
writeTo(StreamOutput out) |
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.Operationpublic long estimateSize()
estimateSize in interface Translog.Operationpublic org.apache.lucene.index.Term uid()
public long version()
public VersionType versionType()
public Translog.Source getSource()
getSource in interface Translog.Operationpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.