|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SqlSimpleParser.TokenType> org.eigenbase.sql.advise.SqlSimpleParser.TokenType
static enum SqlSimpleParser.TokenType
Enum Constant Summary | |
---|---|
BY
|
|
COMMA
|
|
COMMENT
|
|
DQID
double-quoted identifier, e.g. |
|
EXCEPT
|
|
FROM
|
|
GROUP
|
|
HAVING
|
|
ID
identifier, or indeed any miscellaneous sequence of characters |
|
INTERSECT
|
|
JOIN
|
|
LPAREN
left parenthesis |
|
ON
|
|
ORDER
|
|
QUERY
A token created by reducing an entire subquery. |
|
RPAREN
right parenthesis |
|
SELECT
|
|
SQID
single-quoted string literal, e.g. |
|
UNION
|
|
USING
|
|
WHERE
|
Method Summary | |
---|---|
String |
sql()
|
static SqlSimpleParser.TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SqlSimpleParser.TokenType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SqlSimpleParser.TokenType SELECT
public static final SqlSimpleParser.TokenType FROM
public static final SqlSimpleParser.TokenType JOIN
public static final SqlSimpleParser.TokenType ON
public static final SqlSimpleParser.TokenType USING
public static final SqlSimpleParser.TokenType WHERE
public static final SqlSimpleParser.TokenType GROUP
public static final SqlSimpleParser.TokenType HAVING
public static final SqlSimpleParser.TokenType ORDER
public static final SqlSimpleParser.TokenType BY
public static final SqlSimpleParser.TokenType UNION
public static final SqlSimpleParser.TokenType INTERSECT
public static final SqlSimpleParser.TokenType EXCEPT
public static final SqlSimpleParser.TokenType LPAREN
public static final SqlSimpleParser.TokenType RPAREN
public static final SqlSimpleParser.TokenType ID
public static final SqlSimpleParser.TokenType DQID
public static final SqlSimpleParser.TokenType SQID
public static final SqlSimpleParser.TokenType COMMENT
public static final SqlSimpleParser.TokenType COMMA
public static final SqlSimpleParser.TokenType QUERY
Method Detail |
---|
public static final SqlSimpleParser.TokenType[] values()
for(SqlSimpleParser.TokenType c : SqlSimpleParser.TokenType.values()) System.out.println(c);
public static SqlSimpleParser.TokenType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String sql()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |