public enum ExecutionType extends Enum<ExecutionType>
| Enum Constant and Description |
|---|
IS_BATCH |
IS_BATCH_CALLABLE |
IS_BATCH_PREPARED |
IS_BATCH_STATEMENT |
IS_CALLABLE |
IS_CALLABLE_OR_BATCH_CALLABLE |
IS_PREPARED |
IS_PREPARED_OR_BATCH_PREPARED |
IS_STATEMENT |
IS_STATEMENT_OR_BATCH_STATEMENT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Class<? extends QueryExecution>[] |
getExecutionTypes() |
static ExecutionType |
valueOf(QueryExecution queryExecution) |
static ExecutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionType IS_BATCH
public static final ExecutionType IS_STATEMENT
public static final ExecutionType IS_BATCH_STATEMENT
public static final ExecutionType IS_STATEMENT_OR_BATCH_STATEMENT
public static final ExecutionType IS_PREPARED
public static final ExecutionType IS_BATCH_PREPARED
public static final ExecutionType IS_PREPARED_OR_BATCH_PREPARED
public static final ExecutionType IS_CALLABLE
public static final ExecutionType IS_BATCH_CALLABLE
public static final ExecutionType IS_CALLABLE_OR_BATCH_CALLABLE
public static ExecutionType[] values()
for (ExecutionType c : ExecutionType.values()) System.out.println(c);
public static ExecutionType 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 static ExecutionType valueOf(QueryExecution queryExecution)
public String getDescription()
public Class<? extends QueryExecution>[] getExecutionTypes()
Copyright © 2017. All rights reserved.