public static enum ReturnRow.Choice extends Enum<ReturnRow.Choice>
For best performance, it is important to choose only the properties that are required. The store is optimized to avoid I/O when the requested properties are in cache.
Enum Constant and 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 and Description |
---|---|
static ReturnRow.Choice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnRow.Choice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnRow.Choice VALUE
public static final ReturnRow.Choice VERSION
public static final ReturnRow.Choice ALL
public static final ReturnRow.Choice NONE
public static ReturnRow.Choice[] values()
for (ReturnRow.Choice c : ReturnRow.Choice.values()) System.out.println(c);
public static ReturnRow.Choice 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.