java.io.Serializable, java.lang.Comparable<Operation.Type>public static enum Operation.Type extends java.lang.Enum<Operation.Type>
| Enum Constant | 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 | Description |
|---|---|---|
static Operation.Type |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.