- All Implemented Interfaces:
Serializable
,Comparable<DbStatementType>
,Constable
Statement types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDatabase command not related to a specific collection.Delete is a statement that deletes existing records.Generic DML statement.Get is a statement that returns zero or one results.Insert is a statements that creates new records.Query is statement that returns zero or more results.Update is a statement that updates existing records. -
Method Summary
Modifier and TypeMethodDescriptionprefix()
Short prefix of this type.static DbStatementType
Returns the enum constant of this class with the specified name.static DbStatementType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUERY
Query is statement that returns zero or more results. -
GET
Get is a statement that returns zero or one results. -
INSERT
Insert is a statements that creates new records. -
UPDATE
Update is a statement that updates existing records. -
DELETE
Delete is a statement that deletes existing records. -
DML
Generic DML statement. -
COMMAND
Database command not related to a specific collection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
prefix
Short prefix of this type. This is used when generating a name for an unnamed statement.- Returns:
- short prefix defining this type (should be very short)
-