@InternalApi public enum LocalStatementType extends java.lang.Enum<LocalStatementType>
NOTE: Jaybird may take shortcuts during detection (e.g. only look at first keyword), so an invalid statement might be classified anyway.
The types of this enum are decided by the needs of Jaybird, and do not necessarily cover all statement types.
Enum Constant and Description |
---|
DELETE
DELETE statement |
EXECUTE_PROCEDURE
EXECUTE PROCEDURE statement. |
INSERT
INSERT statement |
MERGE
MERGE statement |
OTHER
No specific classification applied (i.e.
|
SELECT
SELECT statement, including selectable stored procedures. |
UNKNOWN
Null-state before detection.
|
UPDATE
UPDATE statement (or UPDATE OR INSERT before detection is complete) |
UPDATE_OR_INSERT
UPDATE OR INSERT statement |
Modifier and Type | Method and Description |
---|---|
static LocalStatementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocalStatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalStatementType UNKNOWN
public static final LocalStatementType SELECT
SELECT
statement, including selectable stored procedures.public static final LocalStatementType EXECUTE_PROCEDURE
EXECUTE PROCEDURE
statement.public static final LocalStatementType UPDATE
UPDATE
statement (or UPDATE OR INSERT
before detection is complete)public static final LocalStatementType DELETE
DELETE
statementpublic static final LocalStatementType INSERT
INSERT
statementpublic static final LocalStatementType UPDATE_OR_INSERT
UPDATE OR INSERT
statementpublic static final LocalStatementType MERGE
MERGE
statementpublic static final LocalStatementType OTHER
public static LocalStatementType[] values()
for (LocalStatementType c : LocalStatementType.values()) System.out.println(c);
public static LocalStatementType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.