Package org.elasticsearch.index.engine
Class Engine.Delete
- java.lang.Object
-
- org.elasticsearch.index.engine.Engine.Operation
-
- org.elasticsearch.index.engine.Engine.Delete
-
- Enclosing class:
- Engine
public static class Engine.Delete extends Engine.Operation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.index.engine.Engine.Operation
Engine.Operation.Origin, Engine.Operation.TYPE
-
-
Constructor Summary
Constructors Constructor Description Delete(java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid, long primaryTerm)
Delete(java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid, long seqNo, long primaryTerm, long version, VersionType versionType, Engine.Operation.Origin origin, long startTime, long ifSeqNo, long ifPrimaryTerm)
Delete(Engine.Delete template, VersionType versionType)
-
Method Summary
Modifier and Type Method Description int
estimatedSizeInBytes()
long
getIfPrimaryTerm()
long
getIfSeqNo()
java.lang.String
id()
Engine.Operation.TYPE
operationType()
java.lang.String
type()
-
Methods inherited from class org.elasticsearch.index.engine.Engine.Operation
origin, primaryTerm, seqNo, startTime, uid, version, versionType
-
-
-
-
Constructor Detail
-
Delete
public Delete(java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid, long seqNo, long primaryTerm, long version, VersionType versionType, Engine.Operation.Origin origin, long startTime, long ifSeqNo, long ifPrimaryTerm)
-
Delete
public Delete(java.lang.String type, java.lang.String id, org.apache.lucene.index.Term uid, long primaryTerm)
-
Delete
public Delete(Engine.Delete template, VersionType versionType)
-
-
Method Detail
-
type
public java.lang.String type()
- Specified by:
type
in classEngine.Operation
-
id
public java.lang.String id()
-
operationType
public Engine.Operation.TYPE operationType()
- Specified by:
operationType
in classEngine.Operation
-
estimatedSizeInBytes
public int estimatedSizeInBytes()
- Specified by:
estimatedSizeInBytes
in classEngine.Operation
-
getIfSeqNo
public long getIfSeqNo()
-
getIfPrimaryTerm
public long getIfPrimaryTerm()
-
-