# Uses of Interface
oracle.kv.Operation

Packages that use Operation
Package
Description
oracle.kv
This package contains the public API for using Oracle NoSQL Database.

- ## Uses of Operation in oracle.kv

  Methods in oracle.kv that return Operation
  Modifier and Type
  Method
  Description
  `Operation`
  OperationFactory.`createDelete(Key key)`
  Create a Delete operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createDelete(Key key, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)`
  Create a Delete operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createDeleteIfVersion(Key key, Version version)`
  Create a Delete operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createDeleteIfVersion(Key key, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)`
  Create a Delete operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPut(Key key, Value value)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPut(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPutIfAbsent(Key key, Value value)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPutIfAbsent(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPutIfPresent(Key key, Value value)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPutIfPresent(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPutIfVersion(Key key, Value value, Version version)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationFactory.`createPutIfVersion(Key key, Value value, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)`
  Create a Put operation suitable for use as an argument to the `execute` method.
  `Operation`
  OperationExecutionException.`getFailedOperation()`
  The operation that caused the execution to be aborted.
  Method parameters in oracle.kv with type arguments of type Operation
  Modifier and Type
  Method
  Description
  `List<OperationResult>`
  KVStore.`execute(List<Operation> operations)`
  This method provides an efficient and transactional mechanism for executing a sequence of operations associated with keys that share the same Major Path.
  `List<OperationResult>`
  KVStore.`execute(List<Operation> operations, Durability durability, long timeout, TimeUnit timeoutUnit)`
  This method provides an efficient and transactional mechanism for executing a sequence of operations associated with keys that share the same Major Path.