Enum Class Capability
- All Implemented Interfaces:
Serializable
,Comparable<Capability>
,Constable
Defines capabilities of an SQL dialect.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSupports a string concatenation infix operatorSupports a current time literal or functionSupports row limiting clausesSupports a numeric modulo infix operatorSupports "nulls First" and "nulls last" for NULL orderingSupports a row number literal or functionSupports "SELECT ...Supports "TRUNCATE TABLE..." clauses -
Method Summary
Modifier and TypeMethodDescriptionstatic Capability
Returns the enum constant of this class with the specified name.static Capability[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIMIT_OFFSET
Supports row limiting clauses -
ROW_NUM
Supports a row number literal or function -
CONCAT_OPERATOR
Supports a string concatenation infix operator -
MODULO_OPERATOR
Supports a numeric modulo infix operator -
CURRENT_TIME
Supports a current time literal or function -
NULL_ORDERING
Supports "nulls First" and "nulls last" for NULL ordering -
SELECT_FOR_UPDATE
Supports "SELECT ... FOR UPDATE" clauses -
TRUNCATE_TABLE
Supports "TRUNCATE TABLE..." clauses
-
-
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
-