Enum Class OqlKeyword
- All Implemented Interfaces:
Serializable,Comparable<OqlKeyword>,Constable
The
OqlKeyword enum represents the complete set of keywords (Reserved Words)
in Apache Geode's Object Query Language (OQL).- Since:
- 1.0.0
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns name of this GemFire OQL Keyword enumerated value.toString()static OqlKeywordReturns the enum constant of this class with the specified name.static OqlKeywordvalueOfIgnoreCase(String keyword) static OqlKeyword[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AND
-
AS
-
COUNT
-
DISTINCT
-
ELEMENT
-
FROM
-
HINT
-
IMPORT
-
IN
-
IS_DEFINED
-
IS_UNDEFINED
-
LIMIT
-
LIKE
-
NOT
-
NVL
-
OR
-
ORDER_BY
-
SELECT
-
SET
-
TRACE
-
TO_DATE
-
TYPE
-
WHERE
-
-
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
-
valueOfIgnoreCase
- Parameters:
keyword- name of the GemFire OQL Keyword to lookup.- Returns:
- an
OqlKeywordenumerated value for the givenkeywordString. - Throws:
IllegalArgumentException- ifkeywordis not a valid GemFire OQL Keyword.
-
getKeyword
Returns name of this GemFire OQL Keyword enumerated value. The keyword may have been explicitly defined when theOqlKeywordenumerated value was constructed, in which case this value is returned, otherwise this method returnsEnum.name().- Returns:
- a
Stringname for this GemFire OQL Keyword enumerated value. - See Also:
-
toString
- Overrides:
toStringin classEnum<OqlKeyword>
-