public static enum Explain.InfoLevel extends Enum<Explain.InfoLevel>
Enum Constant and Description |
---|
ALL
Log query, algebra and every database access (can be expensive)
|
FINE
Log each query and it's algebra form after optimization
|
INFO
Log each query
|
NONE
No query execution logging.
|
Modifier and Type | Method and Description |
---|---|
static Explain.InfoLevel |
get(String name) |
abstract int |
level() |
static Explain.InfoLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Explain.InfoLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Explain.InfoLevel INFO
public static final Explain.InfoLevel FINE
public static final Explain.InfoLevel ALL
public static final Explain.InfoLevel NONE
public static Explain.InfoLevel[] values()
for (Explain.InfoLevel c : Explain.InfoLevel.values()) System.out.println(c);
public static Explain.InfoLevel 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 nullpublic abstract int level()
public static Explain.InfoLevel get(String name)
Licenced under the Apache License, Version 2.0