Oracle NoSQL Database
version 11gR2.2.0.26

oracle.kv
Interface OperationResult


public interface OperationResult

The Result associated with the execution of an Operation.

See Also:
OperationFactory, execute

Method Summary
 Version getNewVersion()
          For a put operation, the version of the new key/value pair.
 Value getPreviousValue()
          For a put or delete operation, the previous value associated with the key.
 Version getPreviousVersion()
          For a put or delete operation, the version of the previous value associated with the key.
 boolean getSuccess()
          Whether the operation succeeded.
 

Method Detail

getSuccess

boolean getSuccess()
Whether the operation succeeded. A put or delete operation may be unsuccessful if the key or version was not matched.


getNewVersion

Version getNewVersion()
For a put operation, the version of the new key/value pair.

Is null if any of the following conditions are true:


getPreviousVersion

Version 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:


getPreviousValue

Value getPreviousValue()
For a put or delete operation, the previous value associated with the key.

Is null if any of the following conditions are true:


Oracle NoSQL Database
version 11gR2.2.0.26

Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.