public static enum QueryInfo.ExecuteType extends Enum<QueryInfo.ExecuteType>
Enum Constant and Description |
---|
EXECUTE
Call Statement.execute().
|
QUERY
Call Statement.executeQuery(). getResultSet() should be called on the DatabaseResultEvent.
|
UPDATE
Call Statement.executeUpdate(). getUpdateResult() should be called on the DatabaseResultEvent.
|
Modifier and Type | Method and Description |
---|---|
static QueryInfo.ExecuteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryInfo.ExecuteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryInfo.ExecuteType QUERY
public static final QueryInfo.ExecuteType UPDATE
public static final QueryInfo.ExecuteType EXECUTE
public static QueryInfo.ExecuteType[] values()
for (QueryInfo.ExecuteType c : QueryInfo.ExecuteType.values()) System.out.println(c);
public static QueryInfo.ExecuteType 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