static enum SqlSimpleParser.TokenType extends java.lang.Enum<SqlSimpleParser.TokenType>
Enum Constant and Description |
---|
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
|
MINUS |
ON |
ORDER |
QUERY
A token created by reducing an entire sub-query.
|
RPAREN
right parenthesis
|
SELECT |
SQID
single-quoted string literal, e.g.
|
UNION |
USING |
WHERE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
sql() |
static SqlSimpleParser.TokenType |
valueOf(java.lang.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 are declared.
|
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 MINUS
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
public static SqlSimpleParser.TokenType[] values()
for (SqlSimpleParser.TokenType c : SqlSimpleParser.TokenType.values()) System.out.println(c);
public static SqlSimpleParser.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 java.lang.String sql()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.