public enum TokenType extends java.lang.Enum<TokenType>
Enum Constant and Description |
---|
C_END_OF_QUERY |
C_OQL_QUERY |
K_ALL |
K_AND |
K_ANY |
K_AS |
K_ASC |
K_AVG |
K_BETWEEN |
K_BY |
K_CONTAINEDBY |
K_CONTAINS |
K_COUNT |
K_COUNT_OF |
K_DEFINED |
K_DESC |
K_DISTINCT |
K_EXISTS |
K_EXPLAIN |
K_FROM |
K_ILIKE |
K_IMATCHES |
K_IN |
K_IS_DEFINED |
K_IS_UNDEFINED |
K_LIKE |
K_LIMIT |
K_LIST |
K_MATCHES |
K_MAX |
K_MIN |
K_NIL |
K_NOT |
K_NULL |
K_OF |
K_ONLY |
K_OR |
K_ORDER |
K_OVERLAPS |
K_SELECT |
K_SUM |
K_UNDEFINED |
K_WHERE |
K_WITHIN |
L_BOOLEAN |
L_COMMENT |
L_DATE |
L_DECIMAL |
L_DUMMY
Dummy tokentype for otherwise unbalanced trees should render as nothing, i.e. the empty string
|
L_IDENTIFIER |
L_INTEGER |
L_STRING |
L_TIME |
L_TIMESTAMP |
S_ARRAY_TYPE |
S_COLON |
S_COMMA |
S_CONCAT |
S_DIVIDE |
S_DOLLAR |
S_DOT |
S_EQUAL |
S_EXPONENTIATE |
S_GT |
S_GTE |
S_LBRACKET |
S_LPAREN |
S_LT |
S_LTE |
S_MINUS |
S_MODULO |
S_NOT_EQUAL |
S_NULLSAFE_DOT |
S_PLUS |
S_RBRACKET |
S_RPAREN |
S_SLICE
An operator defining a slice, i.e. range, of an array
|
S_TIMES |
Modifier and Type | Method and Description |
---|---|
int |
getOperatorPrecedence() |
java.lang.String |
getRaw() |
java.lang.String |
getValue() |
ValueType |
getValueType() |
boolean |
isAggregate() |
boolean |
isBoolOp() |
boolean |
isComparison() |
boolean |
isIdentifier() |
boolean |
isImmutable() |
boolean |
isKeyword() |
boolean |
isLiteral() |
boolean |
isMathOp() |
boolean |
isStringOp() |
boolean |
isSymbol() |
static Token |
keyword(java.lang.String keyword) |
Token |
token() |
Token |
token(java.lang.String value) |
java.lang.String |
toSQL() |
java.lang.String |
toString(java.lang.String givenValue) |
static TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType C_OQL_QUERY
public static final TokenType C_END_OF_QUERY
public static final TokenType K_EXPLAIN
public static final TokenType K_SELECT
public static final TokenType K_AS
public static final TokenType K_FROM
public static final TokenType K_WITHIN
public static final TokenType K_ONLY
public static final TokenType K_IN
public static final TokenType K_WHERE
public static final TokenType K_ANY
public static final TokenType K_ALL
public static final TokenType K_OF
public static final TokenType K_EXISTS
public static final TokenType K_OR
public static final TokenType K_AND
public static final TokenType K_LIKE
public static final TokenType K_ILIKE
public static final TokenType K_NOT
public static final TokenType K_MATCHES
public static final TokenType K_IMATCHES
public static final TokenType K_BETWEEN
public static final TokenType K_DISTINCT
public static final TokenType K_COUNT
public static final TokenType K_SUM
public static final TokenType K_MIN
public static final TokenType K_MAX
public static final TokenType K_AVG
public static final TokenType K_NULL
public static final TokenType K_NIL
public static final TokenType K_DEFINED
public static final TokenType K_UNDEFINED
public static final TokenType K_IS_DEFINED
public static final TokenType K_IS_UNDEFINED
public static final TokenType K_LIST
public static final TokenType K_ORDER
public static final TokenType K_BY
public static final TokenType K_ASC
public static final TokenType K_DESC
public static final TokenType K_LIMIT
public static final TokenType K_OVERLAPS
public static final TokenType K_CONTAINS
public static final TokenType K_CONTAINEDBY
public static final TokenType S_COLON
public static final TokenType S_EQUAL
public static final TokenType S_NOT_EQUAL
public static final TokenType S_LT
public static final TokenType S_LTE
public static final TokenType S_GT
public static final TokenType S_GTE
public static final TokenType S_PLUS
public static final TokenType S_MINUS
public static final TokenType S_CONCAT
public static final TokenType S_TIMES
public static final TokenType S_DIVIDE
public static final TokenType S_MODULO
public static final TokenType S_EXPONENTIATE
public static final TokenType S_LPAREN
public static final TokenType S_RPAREN
public static final TokenType S_LBRACKET
public static final TokenType S_RBRACKET
public static final TokenType S_ARRAY_TYPE
public static final TokenType S_DOLLAR
public static final TokenType S_DOT
public static final TokenType S_COMMA
public static final TokenType S_NULLSAFE_DOT
public static final TokenType S_SLICE
public static final TokenType L_IDENTIFIER
public static final TokenType L_BOOLEAN
public static final TokenType L_INTEGER
public static final TokenType L_DECIMAL
public static final TokenType L_STRING
public static final TokenType L_DATE
public static final TokenType L_TIME
public static final TokenType L_TIMESTAMP
public static final TokenType L_COMMENT
public static final TokenType K_COUNT_OF
public static final TokenType L_DUMMY
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType 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 nullpublic final boolean isKeyword()
public final boolean isLiteral()
public final boolean isSymbol()
public final boolean isIdentifier()
public final boolean isImmutable()
public final boolean isComparison()
public final boolean isAggregate()
public final boolean isMathOp()
public final boolean isBoolOp()
public final boolean isStringOp()
public final java.lang.String getValue()
public final java.lang.String getRaw()
public final ValueType getValueType()
public final int getOperatorPrecedence()
public final java.lang.String toSQL()
public final Token token(java.lang.String value)
public final Token token()
public static final Token keyword(java.lang.String keyword)
public final java.lang.String toString(java.lang.String givenValue)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.