Enum Class ReservedKeyword
- All Implemented Interfaces:
Serializable
,Comparable<ReservedKeyword>
,Constable
Deprecated.
since 3.0 without replacement.
CQL keywords.
- Author:
- Matthew T. Adams, Mark Paluch
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isReserved
(CharSequence candidate) Deprecated.static boolean
isReserved
(String candidate) Deprecated.Returns whether the given string is a CQL reserved keyword.static ReservedKeyword
Deprecated.Returns the enum constant of this class with the specified name.static ReservedKeyword[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
Deprecated. -
ALTER
Deprecated. -
AND
Deprecated. -
ANY
Deprecated. -
APPLY
Deprecated. -
ASC
Deprecated. -
AUTHORIZE
Deprecated. -
BATCH
Deprecated. -
BEGIN
Deprecated. -
BY
Deprecated. -
COLUMNFAMILY
Deprecated. -
CREATE
Deprecated. -
DELETE
Deprecated. -
DESC
Deprecated. -
DROP
Deprecated. -
EACH_QUORUM
Deprecated. -
FROM
Deprecated. -
GRANT
Deprecated. -
IN
Deprecated. -
INDEX
Deprecated. -
INSERT
Deprecated. -
INTO
Deprecated. -
KEYSPACE
Deprecated. -
LIMIT
Deprecated. -
LOCAL_ONE
Deprecated. -
LOCAL_QUORUM
Deprecated. -
MODIFY
Deprecated. -
NORECURSIVE
Deprecated. -
OF
Deprecated. -
ON
Deprecated. -
ONE
Deprecated. -
ORDER
Deprecated. -
PRIMARY
Deprecated. -
QUORUM
Deprecated. -
REVOKE
Deprecated. -
SCHEMA
Deprecated. -
SELECT
Deprecated. -
SET
Deprecated. -
TABLE
Deprecated. -
THREE
Deprecated. -
TOKEN
Deprecated. -
TRUNCATE
Deprecated. -
TWO
Deprecated. -
UPDATE
Deprecated. -
USE
Deprecated. -
USING
Deprecated. -
WHERE
Deprecated. -
WITH
Deprecated.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
isReserved
Deprecated.- See Also:
-
isReserved
Deprecated.Returns whether the given string is a CQL reserved keyword. This comparison is done regardless of case.- Parameters:
candidate
- candidate keyword.
-