java.lang.Object
org.elasticsearch.index.translog.Translog.Operation
org.elasticsearch.index.translog.Translog.Delete
- All Implemented Interfaces:
Writeable
- Enclosing class:
- Translog
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.translog.Translog.Operation
Translog.Operation.Type
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class org.elasticsearch.index.translog.Translog.Operation
primaryTerm, seqNo
-
Constructor Summary
ConstructorsConstructorDescriptionutility for testingDelete
(Engine.Delete delete, Engine.DeleteResult deleteResult) -
Method Summary
Methods inherited from class org.elasticsearch.index.translog.Translog.Operation
primaryTerm, readOperation, seqNo, writeTo
-
Field Details
-
FORMAT_NO_PARENT
public static final int FORMAT_NO_PARENT- See Also:
-
FORMAT_NO_VERSION_TYPE
public static final int FORMAT_NO_VERSION_TYPE- See Also:
-
FORMAT_NO_DOC_TYPE
public static final int FORMAT_NO_DOC_TYPE- See Also:
-
SERIALIZATION_FORMAT
public static final int SERIALIZATION_FORMAT- See Also:
-
-
Constructor Details
-
Delete
-
Delete
utility for testing -
Delete
-
-
Method Details
-
opType
- Specified by:
opType
in classTranslog.Operation
-
estimateSize
public long estimateSize()- Specified by:
estimateSize
in classTranslog.Operation
-
id
-
version
public long version() -
writeBody
- Specified by:
writeBody
in classTranslog.Operation
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-