public static enum QueryPlanner.IndexScanPreference extends Enum<QueryPlanner.IndexScanPreference>
Enum Constant and Description |
---|
PREFER_INDEX
Prefer index scan over full scan.
|
PREFER_PRIMARY_KEY_INDEX
Prefer a scan using an index for exactly the primary key.
|
PREFER_SCAN
Prefer a full scan over an index scan.
|
Modifier and Type | Method and Description |
---|---|
static QueryPlanner.IndexScanPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryPlanner.IndexScanPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryPlanner.IndexScanPreference PREFER_SCAN
public static final QueryPlanner.IndexScanPreference PREFER_INDEX
public static final QueryPlanner.IndexScanPreference PREFER_PRIMARY_KEY_INDEX
public static QueryPlanner.IndexScanPreference[] values()
for (QueryPlanner.IndexScanPreference c : QueryPlanner.IndexScanPreference.values()) System.out.println(c);
public static QueryPlanner.IndexScanPreference 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 null