public enum AutoTuneMode extends Enum<AutoTuneMode>
Query.setAutoTune(boolean)
has not been explicitly set on a query.
The explicit control of Query.setAutoTune(boolean)
will always take
precedence. This mode is used when this has not been explicitly set on a
query.
Enum Constant and Description |
---|
DEFAULT_OFF
Don't implicitly use AutoTune.
|
DEFAULT_ON
Use AutoTune implicitly.
|
DEFAULT_ONIFEMPTY
Implicitly use AutoTune if the query has not got either select() or join()
defined.
|
Modifier and Type | Method and Description |
---|---|
static AutoTuneMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoTuneMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoTuneMode DEFAULT_OFF
public static final AutoTuneMode DEFAULT_ON
public static final AutoTuneMode DEFAULT_ONIFEMPTY
public static AutoTuneMode[] values()
for (AutoTuneMode c : AutoTuneMode.values()) System.out.println(c);
public static AutoTuneMode 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 © 2019. All rights reserved.