Package org.elasticsearch.index.engine
Class Engine.IndexResult
java.lang.Object
org.elasticsearch.index.engine.Engine.Result
org.elasticsearch.index.engine.Engine.IndexResult
- Enclosing class:
- Engine
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.engine.Engine.Result
Engine.Result.Type
-
Constructor Summary
ConstructorDescriptionIndexResult(long version, long term, long seqNo, boolean created)
IndexResult(Exception failure, long version)
use in case of the index operation failed before getting to internal engineIndexResult(Exception failure, long version, long term, long seqNo)
IndexResult(Mapping requiredMappingUpdate)
-
Method Summary
Methods inherited from class org.elasticsearch.index.engine.Engine.Result
getFailure, getOperationType, getRequiredMappingUpdate, getResultType, getSeqNo, getTerm, getTook, getTranslogLocation, getVersion
-
Constructor Details
-
IndexResult
public IndexResult(long version, long term, long seqNo, boolean created) -
IndexResult
use in case of the index operation failed before getting to internal engine -
IndexResult
-
IndexResult
-
-
Method Details
-
isCreated
public boolean isCreated()
-