public enum IdentifierRole extends java.lang.Enum<IdentifierRole>
Enum Constant and Description |
---|
AGGREGATE
Indicates the identifier aggregates two expressions together.
|
CLAUSE
Indicates the identifier is used to create a clause.
|
COMPLEMENT
Indicates the identifier is used to complement an expression, it is not required for creating
an expression.
|
COMPOUND_FUNCTION
Indicates the identifier is a kind of function, it does not return a value but it is used to
perform some operation over an expression.
|
FUNCTION
Indicates the identifier is used to create a function, it has some parameters and returns a
value.
|
UNUSED
Indicates the identifier is not part of the language but it has been reserved for future use.
|
Modifier and Type | Method and Description |
---|---|
static IdentifierRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdentifierRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentifierRole AGGREGATE
public static final IdentifierRole CLAUSE
public static final IdentifierRole COMPLEMENT
public static final IdentifierRole COMPOUND_FUNCTION
public static final IdentifierRole FUNCTION
Note: TRUE, FALSE, NULL, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP are considered functions.
public static final IdentifierRole UNUSED
public static IdentifierRole[] values()
for (IdentifierRole c : IdentifierRole.values()) System.out.println(c);
public static IdentifierRole valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null