public static enum Operation.Type extends Enum<Operation.Type>
Enum Constant and Description |
---|
DELETE
An operation created by
OperationFactory.createDelete(oracle.kv.Key) . |
DELETE_IF_VERSION
An operation created by
OperationFactory.createDeleteIfVersion(oracle.kv.Key, oracle.kv.Version) . |
PUT
An operation created by
OperationFactory.createPut(oracle.kv.Key, oracle.kv.Value) . |
PUT_IF_ABSENT
An operation created by
OperationFactory.createPutIfAbsent(oracle.kv.Key, oracle.kv.Value) . |
PUT_IF_PRESENT
An operation created by
OperationFactory.createPutIfPresent(oracle.kv.Key, oracle.kv.Value) . |
PUT_IF_VERSION
An operation created by
OperationFactory.createPutIfVersion(oracle.kv.Key, oracle.kv.Value, oracle.kv.Version) . |
Modifier and Type | Method and Description |
---|---|
static Operation.Type |
valueOf(String name)
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.
|
public static final Operation.Type PUT
OperationFactory.createPut(oracle.kv.Key, oracle.kv.Value)
.public static final Operation.Type PUT_IF_ABSENT
OperationFactory.createPutIfAbsent(oracle.kv.Key, oracle.kv.Value)
.public static final Operation.Type PUT_IF_PRESENT
OperationFactory.createPutIfPresent(oracle.kv.Key, oracle.kv.Value)
.public static final Operation.Type PUT_IF_VERSION
OperationFactory.createPutIfVersion(oracle.kv.Key, oracle.kv.Value, oracle.kv.Version)
.public static final Operation.Type DELETE
OperationFactory.createDelete(oracle.kv.Key)
.public static final Operation.Type DELETE_IF_VERSION
OperationFactory.createDeleteIfVersion(oracle.kv.Key, oracle.kv.Version)
.public static Operation.Type[] values()
for (Operation.Type c : Operation.Type.values()) System.out.println(c);
public static Operation.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.