Package oracle.kv
Enum Operation.Type
- All Implemented Interfaces:
Serializable
,Comparable<Operation.Type>
- Enclosing interface:
- Operation
The type of operation, as determined by the method used to create it.
-
Enum Constant Summary
Enum ConstantDescriptionAn operation created byOperationFactory.createDelete(oracle.kv.Key)
.An operation created byOperationFactory.createDeleteIfVersion(oracle.kv.Key, oracle.kv.Version)
.An operation created byOperationFactory.createPut(oracle.kv.Key, oracle.kv.Value)
.An operation created byOperationFactory.createPutIfAbsent(oracle.kv.Key, oracle.kv.Value)
.An operation created byOperationFactory.createPutIfPresent(oracle.kv.Key, oracle.kv.Value)
.An operation created byOperationFactory.createPutIfVersion(oracle.kv.Key, oracle.kv.Value, oracle.kv.Version)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Operation.Type
Returns the enum constant of this type with the specified name.static Operation.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PUT
An operation created byOperationFactory.createPut(oracle.kv.Key, oracle.kv.Value)
. -
PUT_IF_ABSENT
An operation created byOperationFactory.createPutIfAbsent(oracle.kv.Key, oracle.kv.Value)
. -
PUT_IF_PRESENT
An operation created byOperationFactory.createPutIfPresent(oracle.kv.Key, oracle.kv.Value)
. -
PUT_IF_VERSION
An operation created byOperationFactory.createPutIfVersion(oracle.kv.Key, oracle.kv.Value, oracle.kv.Version)
. -
DELETE
An operation created byOperationFactory.createDelete(oracle.kv.Key)
. -
DELETE_IF_VERSION
An operation created byOperationFactory.createDeleteIfVersion(oracle.kv.Key, oracle.kv.Version)
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-