java.io.Serializable, java.lang.Comparable<ReturnValueVersion.Choice>, oracle.kv.impl.util.FastExternalizablepublic static enum ReturnValueVersion.Choice extends java.lang.Enum<ReturnValueVersion.Choice> implements oracle.kv.impl.util.FastExternalizable
For best performance, it is important to choose only the properties that are required. The KV Store is optimized to avoid I/O when the requested properties are in cache.
| Enum Constant | Description |
|---|---|
ALL |
Return both the value and the version.
|
NONE |
Do not return the value or the version.
|
VALUE |
Return the value only.
|
VERSION |
Return the version only.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ReturnValueVersion.Choice |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ReturnValueVersion.Choice[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnValueVersion.Choice VALUE
public static final ReturnValueVersion.Choice VERSION
public static final ReturnValueVersion.Choice ALL
public static final ReturnValueVersion.Choice NONE
public static ReturnValueVersion.Choice[] values()
for (ReturnValueVersion.Choice c : ReturnValueVersion.Choice.values()) System.out.println(c);
public static ReturnValueVersion.Choice 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.