private static enum Parser.SqlParseState extends java.lang.Enum<Parser.SqlParseState>
| Enum Constant and Description |
|---|
ESC_DATE |
ESC_ESCAPECHAR |
ESC_FUNCTION |
ESC_OUTERJOIN |
ESC_TIME |
ESC_TIMESTAMP |
IN_SQLCODE |
| Modifier and Type | Field and Description |
|---|---|
private char[] |
allowedValues |
private char[] |
escapeKeyword |
private java.lang.String |
replacementKeyword |
private static Parser.SqlParseState[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
private int |
getMatchedPosition(char[] sql,
int pos) |
private boolean |
startMatches(char[] sql,
int pos) |
static Parser.SqlParseState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Parser.SqlParseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.SqlParseState IN_SQLCODE
public static final Parser.SqlParseState ESC_DATE
public static final Parser.SqlParseState ESC_TIME
public static final Parser.SqlParseState ESC_TIMESTAMP
public static final Parser.SqlParseState ESC_FUNCTION
public static final Parser.SqlParseState ESC_OUTERJOIN
public static final Parser.SqlParseState ESC_ESCAPECHAR
private static final Parser.SqlParseState[] VALUES
private final char[] escapeKeyword
private final char[] allowedValues
private final java.lang.String replacementKeyword
public static Parser.SqlParseState[] values()
for (Parser.SqlParseState c : Parser.SqlParseState.values()) System.out.println(c);
public static Parser.SqlParseState 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 nullprivate boolean startMatches(char[] sql,
int pos)
private int getMatchedPosition(char[] sql,
int pos)