public static class Translog.Create extends Object implements Translog.Operation
Translog.Operation.Type
Modifier and Type | Field and Description |
---|---|
static int |
SERIALIZATION_FORMAT |
Constructor and Description |
---|
Create() |
Create(Engine.Create create) |
Create(String type,
String id,
byte[] source) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
estimateSize() |
Translog.Source |
getSource() |
int |
hashCode() |
String |
id() |
Translog.Operation.Type |
opType() |
String |
parent() |
void |
readFrom(StreamInput in) |
String |
routing() |
BytesReference |
source() |
long |
timestamp() |
String |
toString() |
long |
ttl() |
String |
type() |
long |
version() |
VersionType |
versionType() |
void |
writeTo(StreamOutput out) |
public static final int SERIALIZATION_FORMAT
public Create()
public Create(Engine.Create create)
public Translog.Operation.Type opType()
opType
in interface Translog.Operation
public long estimateSize()
estimateSize
in interface Translog.Operation
public String id()
public BytesReference source()
public String type()
public String routing()
public String parent()
public long timestamp()
public long ttl()
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.