Package oracle.nosql.driver.ops
Class WriteMultipleResult.OperationResult
java.lang.Object
oracle.nosql.driver.ops.Result
oracle.nosql.driver.ops.WriteResult
oracle.nosql.driver.ops.WriteMultipleResult.OperationResult
- Enclosing class:
- WriteMultipleResult
The Result associated with the execution of an individual
 operation in the request.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongReturns the previous modification time associated with the key if available.Returns the previous row value associated with the key if available.Returns the existing row version associated with the key if available.Returns the value generated if the operation created a new value.booleanReturns the flag indicates whether the operation succeeded.Returns the version of the new row for put operation, or null if put operations did not succeed or the operation is delete operation.toString()Methods inherited from class oracle.nosql.driver.ops.ResultgetRateLimitDelayedMs, getRetryStats
- 
Constructor Details- 
OperationResultpublic OperationResult()
 
- 
- 
Method Details- 
getSuccesspublic boolean getSuccess()Returns the flag indicates whether the operation succeeded. A put or delete operation may be unsuccessful if the condition is not matched.- Returns:
- true if the operation succeeded
 
- 
getVersionReturns the version of the new row for put operation, or null if put operations did not succeed or the operation is delete operation.- Returns:
- the version if it exists
 
- 
getExistingVersionReturns the existing row version associated with the key if available.- Returns:
- the existing version if set
 
- 
getExistingValueReturns the previous row value associated with the key if available.- Returns:
- the existing value if set
 
- 
getExistingModificationTimepublic long getExistingModificationTime()Returns the previous modification time associated with the key if available.- Returns:
- the modification time if set, in milliseconds sine Jan 1, 1970
- Since:
- 5.3.0
 
- 
getGeneratedValueReturns the value generated if the operation created a new value. This can happen if the table contains an identity column or string column declared as a generated UUID. If the table has no such columns this value is null. If a value was generated for the operation, it is non-null. This value is only valid for a put operation on a table with an identity column or string as uuid column.- Returns:
- the generated value
 
- 
toString
 
-