Package oracle.kv

# Interface Operation

public interface Operation
Denotes an Operation in a sequence of operations passed to the `KVStore.execute` method.

Operation instances are created only by `OperationFactory` methods and the Operation interface should not be implemented by the application.

See Also:
  - `OperationFactory`
  - `KVStore.execute`

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static enum`
  `Operation.Type`
  The type of operation, as determined by the method used to create it.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `getAbortIfUnsuccessful()`
  Returns whether this operation should cause the `KVStore.execute` transaction to abort when the operation fails.
  `Key`
  `getKey()`
  Returns the Key associated with the operation.
  `Operation.Type`
  `getType()`
  Returns the operation Type.

- ## Method Details

  - ### getKey

    Key getKey()
    Returns the Key associated with the operation.

  - ### getType

    Operation.Type getType()
    Returns the operation Type.

  - ### getAbortIfUnsuccessful

    boolean getAbortIfUnsuccessful()
    Returns whether this operation should cause the `KVStore.execute` transaction to abort when the operation fails.