public static class Engine.IndexResult extends Engine.Result
| Constructor and Description |
|---|
IndexResult(java.lang.Exception failure,
long version)
use in case of index operation failed before getting to internal engine
(e.g while preparing operation or updating mappings)
|
IndexResult(java.lang.Exception failure,
long version,
long seqNo) |
IndexResult(long version,
long seqNo,
boolean created) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCreated() |
getFailure, getOperationType, getSeqNo, getTook, getTranslogLocation, getVersion, hasFailurepublic IndexResult(long version,
long seqNo,
boolean created)
public IndexResult(java.lang.Exception failure,
long version)
public IndexResult(java.lang.Exception failure,
long version,
long seqNo)