Package oracle.kv
Interface OperationResult
public interface OperationResult
The Result associated with the execution of an Operation.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionFor a put operation, the version of the new key/value pair.For a put or delete operation, the previous value associated with the key.For a put or delete operation, the version of the previous value associated with the key.booleanWhether the operation succeeded.
- 
Method Details- 
getSuccessboolean getSuccess()Whether the operation succeeded. A put or delete operation may be unsuccessful if the key or version was not matched.
- 
getNewVersionVersion getNewVersion()For a put operation, the version of the new key/value pair.Is null if any of the following conditions are true: - The operation is not a put operation.
- The put operation did not succeed.
 
- 
getPreviousVersionVersion getPreviousVersion()For a put or delete operation, the version of the previous value associated with the key.Is null if any of the following conditions are true: - The operation is not a put or delete operation.
- A previous value did not exist for the given key.
- The prevReturnReturnValueVersionparameter specified that the version should not be returned.
- For a putIfVersionordeleteIfVersionoperation, thematchVersionparameter matched the version of the previous value.
 
- 
getPreviousValueValue getPreviousValue()For a put or delete operation, the previous value associated with the key.Is null if any of the following conditions are true: - The operation is not a put or delete operation.
- A previous value did not exist for the given key.
- The prevReturnReturnValueVersionparameter specified that the value should not be returned.
- For a putIfVersionordeleteIfVersionoperation, thematchVersionparameter matched the version of the previous value.
 
 
-