public enum OqlKeyword extends Enum<OqlKeyword>
OqlKeyword
enum represents the complete set of keywords (Reserved Words)
in Apache Geode's Object Query Language (OQL).Enum Constant and Description |
---|
AND |
AS |
COUNT |
DISTINCT |
ELEMENT |
FROM |
HINT |
IMPORT |
IN |
IS_DEFINED |
IS_UNDEFINED |
LIKE |
LIMIT |
NOT |
NVL |
OR |
ORDER_BY |
SELECT |
SET |
TO_DATE |
TRACE |
TYPE |
WHERE |
Modifier and Type | Method and Description |
---|---|
String |
getKeyword()
Returns name of this GemFire OQL Keyword enumerated value.
|
String |
toString() |
static OqlKeyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OqlKeyword |
valueOfIgnoreCase(String keyword)
|
static OqlKeyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OqlKeyword AND
public static final OqlKeyword AS
public static final OqlKeyword COUNT
public static final OqlKeyword DISTINCT
public static final OqlKeyword ELEMENT
public static final OqlKeyword FROM
public static final OqlKeyword HINT
public static final OqlKeyword IMPORT
public static final OqlKeyword IN
public static final OqlKeyword IS_DEFINED
public static final OqlKeyword IS_UNDEFINED
public static final OqlKeyword LIMIT
public static final OqlKeyword LIKE
public static final OqlKeyword NOT
public static final OqlKeyword NVL
public static final OqlKeyword OR
public static final OqlKeyword ORDER_BY
public static final OqlKeyword SELECT
public static final OqlKeyword SET
public static final OqlKeyword TRACE
public static final OqlKeyword TO_DATE
public static final OqlKeyword TYPE
public static final OqlKeyword WHERE
public static OqlKeyword[] values()
for (OqlKeyword c : OqlKeyword.values()) System.out.println(c);
public static OqlKeyword valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OqlKeyword valueOfIgnoreCase(String keyword)
keyword
- name of the GemFire OQL Keyword to lookup.OqlKeyword
enumerated value for the given keyword
String
.IllegalArgumentException
- if keyword
is not a valid GemFire OQL Keyword.public String getKeyword()
OqlKeyword
enumerated value was constructed, in which case
this value is returned, otherwise this method returns Enum.name()
.String
name for this GemFire OQL Keyword enumerated value.Enum.name()
public String toString()
toString
in class Enum<OqlKeyword>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.