Package oracle.kv.table
Interface TableOperationResult
- 
public interface TableOperationResultThe Result associated with the execution of a TableOperation.- Since:
 - 3.0
 - See Also:
 TableOperationFactory,execute
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersiongetNewVersion()For a put operation, the version of the new row.longgetPreviousExpirationTime()For a put or delete operation, the previous expiration time associated with the row.RowgetPreviousRow()For a put or delete operation, the previous value associated with the row.VersiongetPreviousVersion()For a put or delete operation, the version of the previous row associated with the key.booleangetSuccess()Whether the operation succeeded. 
 - 
 
- 
- 
Method Detail
- 
getSuccess
boolean getSuccess()
Whether the operation succeeded. A put or delete operation may be unsuccessful if the row or version was not matched. 
- 
getNewVersion
Version getNewVersion()
For a put operation, the version of the new row.Is null if any of the following conditions are true:
- The operation is not a put operation.
 - The put operation did not succeed.
 
 
- 
getPreviousVersion
Version getPreviousVersion()
For a put or delete operation, the version of the previous row 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 row.
 - The 
prevReturnReturnRowparameter specified that the version should not be returned. - For a 
putIfVersionordeleteIfVersionoperation, thematchVersionparameter matched the version of the previous value. 
 
- 
getPreviousRow
Row getPreviousRow()
For a put or delete operation, the previous value associated with the row.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 row.
 - The 
prevReturnReturnRowparameter specified that the row should not be returned. - For a 
putIfVersionordeleteIfVersionoperation, thematchVersionparameter matched the version of the previous value. 
 
- 
getPreviousExpirationTime
long getPreviousExpirationTime()
For a put or delete operation, the previous expiration time associated with the row.Is 0 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 row.
 - The 
prevReturnReturnRowparameter specified that neither the row nor version should be returned. - For a 
putIfVersionordeleteIfVersionoperation, thematchVersionparameter matched the version of the previous value. 
- Since:
 - 4.1
 
 
 - 
 
 -