|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.sqlparser.TokenType
public final class TokenType
Enumerated type of a token type. Instances of this class are immutable. The following token types are defined:
| Field Summary | |
|---|---|
static TokenType |
ALTER
The token type alter. |
static TokenType |
BITMAP
The token type bitmap. |
static TokenType |
BY
|
static TokenType |
CACHE
|
static TokenType |
CASCADE
The token type cascade. |
static TokenType |
CHECK
The token type check. |
static TokenType |
CLOSE_PAREN
The token type close_paren. |
static TokenType |
COMMA
The token type comma. |
static TokenType |
COMMENT
The token type comment. |
static TokenType |
CONSTRAINT
The token type constraint. |
static TokenType |
CREATE
The token type create. |
static TokenType |
CYCLE
|
static TokenType |
DEFAULT
The token type default. |
static TokenType |
DELETE
The token type delete. |
static TokenType |
DISABLE
The token type disable. |
static TokenType |
DROP
The token type drop. |
static TokenType |
ENABLE
The token type enable. |
static TokenType |
EOF
The token type eof. |
static TokenType |
FOREIGN
The token type foreign. |
static TokenType |
IDENTIFIER
The token type identifier. |
static TokenType |
IN
The token type in. |
static TokenType |
INCREMENT
The token type increment. |
static TokenType |
INDEX
The token type index. |
static TokenType |
INSERT
The token type insert. |
static TokenType |
KEY
The token type key. |
static TokenType |
MAXVALUE
|
static TokenType |
MINVALUE
|
static TokenType |
NEWLINE
The token type newline. |
static TokenType |
NOCACHE
|
static TokenType |
NOCYCLE
|
static TokenType |
NOMAXVALUE
|
static TokenType |
NOMINVALUE
|
static TokenType |
NOORDER
|
static TokenType |
NOT
The token type not. |
static TokenType |
NULL
The token type null. |
static TokenType |
NUMERIC_LITERAL
The token type numeric_literal. |
static TokenType |
ON
The token type on. |
static TokenType |
OPEN_PAREN
The token type open_paren. |
static TokenType |
OPERATOR
|
static TokenType |
ORDER
|
static TokenType |
PRIMARY
The token type primary. |
static TokenType |
REFERENCES
The token type references. |
static TokenType |
SELECT
The token type delete. |
static TokenType |
SEMICOLON
The token type semicolon. |
static TokenType |
SEQUENCE
The token type sequence. |
static TokenType |
SET
The token type set. |
static TokenType |
SLASH
The token type slash. |
static TokenType |
START
|
static TokenType |
STRING_LITERAL
The token type string_literal. |
static TokenType |
TABLE
The token type table. |
static TokenType |
UNIQUE
The token type unique. |
static List |
VALUES
Immutable list of the token types. |
static TokenType |
WHITESPACE
The token type whitespace. |
static TokenType |
WITH
|
| Method Summary | |
|---|---|
static TokenType |
fromInt(int i)
Creates a TokenType object from its int representation. |
static TokenType |
fromString(String str)
Creates a TokenType object from its String representation. |
int |
toInt()
Returns the int representation of this token type. |
String |
toString()
Returns the String representation of this token type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final TokenType CREATE
public static final TokenType TABLE
public static final TokenType OPEN_PAREN
public static final TokenType CLOSE_PAREN
public static final TokenType IDENTIFIER
public static final TokenType COMMA
public static final TokenType SEMICOLON
public static final TokenType SLASH
public static final TokenType WHITESPACE
public static final TokenType NEWLINE
public static final TokenType STRING_LITERAL
public static final TokenType NUMERIC_LITERAL
public static final TokenType COMMENT
public static final TokenType NOT
public static final TokenType NULL
public static final TokenType CONSTRAINT
public static final TokenType PRIMARY
public static final TokenType KEY
public static final TokenType UNIQUE
public static final TokenType CHECK
public static final TokenType IN
public static final TokenType EOF
public static final TokenType FOREIGN
public static final TokenType DEFAULT
public static final TokenType REFERENCES
public static final TokenType ON
public static final TokenType DELETE
public static final TokenType SET
public static final TokenType CASCADE
public static final TokenType ENABLE
public static final TokenType DISABLE
public static final TokenType ALTER
public static final TokenType DROP
public static final TokenType INSERT
public static final TokenType SELECT
public static final TokenType INDEX
public static final TokenType BITMAP
public static final TokenType SEQUENCE
public static final TokenType INCREMENT
public static final TokenType BY
public static final TokenType START
public static final TokenType WITH
public static final TokenType MAXVALUE
public static final TokenType NOMAXVALUE
public static final TokenType MINVALUE
public static final TokenType NOMINVALUE
public static final TokenType CYCLE
public static final TokenType NOCYCLE
public static final TokenType CACHE
public static final TokenType NOCACHE
public static final TokenType ORDER
public static final TokenType NOORDER
public static final TokenType OPERATOR
public static final List VALUES
| Method Detail |
|---|
public static TokenType fromInt(int i)
throws IllegalArgumentException
i - the int representation of the token type to be returned.
IllegalArgumentException - If the assigned int value isn't
listed in the internal token type table
public static TokenType fromString(String str)
throws IllegalArgumentException
str - the str representation of the token type to be returned.
IllegalArgumentException - If the given str value isn't listed
in the internal token type table.public int toInt()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||