- All Implemented Interfaces:
Serializable,Comparable<TokenType>,Constable
Syntactic categories recognised by the
Lexer.
Constants are grouped by semantic role:
- Literals and identifiers —
IDENTIFIER,STRING,NUMBER,TRUE,FALSE, and the nullary truth-relation literalsUNIT(aliasDEE) andEMPTY(aliasDUM). - Unary RA operators —
PROJECT(π),SELECT(σ),RENAME(ρ),AGGREGATION(γ),SORT(τ),LIMIT(λ),DISTINCT(δ). - Kleene postfix glyphs —
KLEENE_PLUS(⁺) and the contextual-MULTIPLY(*) together withOVERimplement the postfix closure syntaxR⁺ OVER (from, to)/R* OVER (from, to), producing the same AST as the prefixCLOSURE/RCLOSUREkeywords. - Sort direction —
ASC,DESC. - Binary RA operators — joins (natural, theta, outer, semi, anti), set operations (union, union-all, difference, intersection, division), and Cartesian product.
- Logical operators —
AND(∧),OR(∨),NOT(¬). - Aggregate functions —
SUM,AVG,COUNT,MIN,MAX. - Comparison operators —
EQUAL(=),NOT_EQUAL(≠),LESS(<),LESS_EQUAL(≤),GREATER(>),GREATER_EQUAL(≥),NULL(⊥). - Arithmetic operators —
PLUS,MINUS,MULTIPLY,DIVIDE. - Punctuation —
LPAREN,RPAREN,COMMA,DOT,ARROW(→),UNDIRECTED_EDGE(↔),LBRACE,RBRACE. - Set membership —
ELEMENT_OF(∈),NOT_ELEMENT_OF(∉). - Sentinel —
EOF.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe undirected-edge separator↔(ASCII<->), which stands where the comma stands between a graph operator's two endpoint columns and says that the edge relation is to be read both ways. -
Method Summary
-
Enum Constant Details
-
IDENTIFIER
-
STRING
-
NUMBER
-
TRUE
-
FALSE
-
UNIT
-
EMPTY
-
DATE
-
TIME
-
TIMESTAMP
-
DURATION
-
PROJECT
-
SELECT
-
RENAME
-
AGGREGATION
-
SORT
-
LIMIT
-
DISTINCT
-
UNNEST
-
CLOSURE
-
RCLOSURE
-
CLUSTER
-
AS
-
PATH
-
HOPS
-
FIX
-
ITERATE
-
KLEENE_PLUS
-
OVER
-
ASC
-
DESC
-
NATURAL_JOIN
-
THETA_JOIN
-
LEFT_OUTER_JOIN
-
RIGHT_OUTER_JOIN
-
FULL_OUTER_JOIN
-
SEMI_JOIN
-
ANTI_JOIN
-
UNIVERSAL_SEMI_JOIN
-
ASOF_JOIN
-
IJOIN
-
WITHIN
-
TIES
-
PRODUCT
-
UNION
-
UNION_ALL
-
OUTER_UNION
-
DIFFERENCE
-
INTERSECTION
-
DIVISION
-
SYMMETRIC_DIFFERENCE
-
COMPOSITION
-
FORALL
-
SAMPLE
-
SEED
-
SOLVE
-
OPTIMIZE
-
ALLOCATE
-
MAXIMIZE
-
MINIMIZE
-
SUBJECT
-
TO
-
TOP
-
PER
-
ROWS
-
WITH
-
ORDINALITY
-
COVER
-
EXACT
-
DOWNSAMPLE
-
BY
-
USING
-
FOR
-
LATERAL
-
ROLLING
-
WINDOW
-
SESSIONIZE
-
GAP
-
TRACE
-
VIA
-
PIVOT
-
UNPIVOT
-
TREE
-
ORDER
-
WHY
-
AND
-
OR
-
NOT
-
SUM
-
AVG
-
COUNT
-
MIN
-
MAX
-
COLLECT
-
ARGMAX
-
ARGMIN
-
EQUAL
-
NOT_EQUAL
-
LESS
-
LESS_EQUAL
-
GREATER
-
GREATER_EQUAL
-
NULL
-
IS
-
LIKE
-
PLUS
-
MINUS
-
MULTIPLY
-
DIVIDE
-
LPAREN
-
RPAREN
-
COMMA
-
DOT
-
ARROW
-
UNDIRECTED_EDGE
The undirected-edge separator↔(ASCII<->), which stands where the comma stands between a graph operator's two endpoint columns and says that the edge relation is to be read both ways. -
EOF
-
ELEMENT_OF
-
NOT_ELEMENT_OF
-
LBRACE
-
RBRACE
-
LBRACKET
-
RBRACKET
-
COLON
-
-
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
-