public static enum StatementBuilder.StatementType extends Enum<StatementBuilder.StatementType>
Enum Constant and Description |
---|
DELETE
SQL statement in the form of DELETE ...
|
EXECUTE
SQL statement in the form of CREATE TABLE, ALTER TABLE, or something returning the number of rows affected
|
SELECT
SQL statement in the form of SELECT ...
|
SELECT_LONG
SQL statement in the form of SELECT COUNT(*)...
|
SELECT_RAW
SQL statement in the form of SELECT...
|
UPDATE
SQL statement in the form of UPDATE ...
|
Modifier and Type | Method and Description |
---|---|
boolean |
isOkForExecute() |
boolean |
isOkForQuery() |
boolean |
isOkForStatementBuilder() |
boolean |
isOkForUpdate() |
static StatementBuilder.StatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementBuilder.StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementBuilder.StatementType SELECT
public static final StatementBuilder.StatementType SELECT_LONG
public static final StatementBuilder.StatementType SELECT_RAW
public static final StatementBuilder.StatementType UPDATE
public static final StatementBuilder.StatementType DELETE
public static final StatementBuilder.StatementType EXECUTE
public static StatementBuilder.StatementType[] values()
for (StatementBuilder.StatementType c : StatementBuilder.StatementType.values()) System.out.println(c);
public static StatementBuilder.StatementType 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 boolean isOkForStatementBuilder()
public boolean isOkForQuery()
public boolean isOkForUpdate()
public boolean isOkForExecute()
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.