| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | currentToken
String representation of the current token. |
| pack-priv int | currentTokenType
Type of the current token. |
| pack-priv final Database | database
The database or |
| pack-priv ArrayList | expectedList
List of expected tokens or |
| private final boolean | |
| private final boolean | |
| private boolean | literalsChecked
If |
| pack-priv final BitSet | nonKeywords
Value of NON_KEYWORDS setting. |
| pack-priv ArrayList | parameters
JDBC parameters. |
| pack-priv final SessionLocal | session
The session or |
| pack-priv String | sqlCommand
Original SQL. |
| pack-priv Token | token
The current token. |
| pack-priv int | tokenIndex
Index of the current token. |
| pack-priv ArrayList | tokens
Tokens. |
| pack-priv BitSet | usedParameters
Indexes of used parameters. |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | |
| pack-priv final void | |
| private void | |
| private void | |
| private void | |
| pack-priv final void | |
| private void | |
| pack-priv final ArrayList | |
| pack-priv final boolean | |
| public static String | Returns: comma-separated list of non-keywordsbit set of non-keywords, or nonKeywords)nullFormats a comma-separated list of keywords. |
| public final int | |
| pack-priv final ArrayList | |
| pack-priv final DbException | |
| pack-priv final void | |
| pack-priv final boolean | |
| pack-priv static boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final BitSet | |
| public Object | Returns: the array of column names (String[]) or numbers
(int[])the source SQL sql, int the initial offset offset)Parses a list of column names or numbers in parentheses. |
| public static BitSet | Returns: bit set of non-keywords, ornullarray of non-keywords in upper case nonKeywords)Parses the specified collection of non-keywords. |
| public static String | Returns: the quoted identifierthe identifier s, int formatting flags sqlFlags)Add double quotes around an identifier if required. |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final boolean | |
| pack-priv final void | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final int | |
| pack-priv final long | |
| pack-priv final int | |
| pack-priv final Parameter | |
| pack-priv final long | |
| pack-priv final void | |
| public final void | |
| public final void | |
| pack-priv final void | |
| private boolean | |
| private boolean | |
| public final String | |
| pack-priv final String |
| currentToken | back to summary |
|---|---|
| pack-priv String currentToken String representation of the current token. | |
| currentTokenType | back to summary |
|---|---|
| pack-priv int currentTokenType Type of the current token. | |
| database | back to summary |
|---|---|
| pack-priv final Database database The database or | |
| expectedList | back to summary |
|---|---|
| pack-priv ArrayList<String> expectedList List of expected tokens or | |
| identifiersToLower | back to summary |
|---|---|
| private final boolean identifiersToLower | |
| identifiersToUpper | back to summary |
|---|---|
| private final boolean identifiersToUpper | |
| literalsChecked | back to summary |
|---|---|
| private boolean literalsChecked If | |
| nonKeywords | back to summary |
|---|---|
| pack-priv final BitSet nonKeywords Value of NON_KEYWORDS setting. | |
| parameters | back to summary |
|---|---|
| pack-priv ArrayList<Parameter> parameters JDBC parameters. | |
| session | back to summary |
|---|---|
| pack-priv final SessionLocal session The session or | |
| sqlCommand | back to summary |
|---|---|
| pack-priv String sqlCommand Original SQL. | |
| token | back to summary |
|---|---|
| pack-priv Token token The current token. | |
| tokenIndex | back to summary |
|---|---|
| pack-priv int tokenIndex Index of the current token. | |
| tokens | back to summary |
|---|---|
| pack-priv ArrayList<Token> tokens Tokens. | |
| usedParameters | back to summary |
|---|---|
| pack-priv BitSet usedParameters Indexes of used parameters. | |
| variableBinary | back to summary |
|---|---|
| pack-priv final boolean variableBinary | |
| ParserBase | back to summary |
|---|---|
| pack-priv ParserBase(SessionLocal session) | |
| ParserBase | back to summary |
|---|---|
| public ParserBase() Creates a new instance of parser for special use cases. | |
| addExpected | back to summary |
|---|---|
| pack-priv final void addExpected(String token) | |
| addExpected | back to summary |
|---|---|
| pack-priv final void addExpected(int tokenType) | |
| addExpected | back to summary |
|---|---|
| private void addExpected(int tokenType1, int tokenType2) | |
| addExpected | back to summary |
|---|---|
| private void addExpected(String tokenType1, String tokenType2) | |
| addExpected | back to summary |
|---|---|
| private void addExpected(Object... tokens) | |
| addMultipleExpected | back to summary |
|---|---|
| pack-priv final void addMultipleExpected(int... tokenTypes) | |
| checkLiterals | back to summary |
|---|---|
| private void checkLiterals() | |
| closeParametersScope | back to summary |
|---|---|
| pack-priv final ArrayList | |
| equalsToken | back to summary |
|---|---|
| pack-priv final boolean equalsToken(String a, String b) | |
| formatNonKeywords | back to summary |
|---|---|
| public static String formatNonKeywords(BitSet nonKeywords) Formats a comma-separated list of keywords. | |
| getLastParseIndex | back to summary |
|---|---|
| public final int getLastParseIndex() Returns the last parse index.
| |
| getRemainingTokens | back to summary |
|---|---|
| pack-priv final ArrayList | |
| getSyntaxError | back to summary |
|---|---|
| pack-priv final DbException getSyntaxError() | |
| initialize | back to summary |
|---|---|
| pack-priv final void initialize(String sql, ArrayList<Token> tokens, boolean stopOnCloseParen) | |
| isIdentifier | back to summary |
|---|---|
| pack-priv final boolean isIdentifier() | |
| isKeyword | back to summary |
|---|---|
| pack-priv static boolean isKeyword(int tokenType) | |
| isKeyword | back to summary |
|---|---|
| pack-priv final boolean isKeyword(String s) | |
| isToken | back to summary |
|---|---|
| pack-priv final boolean isToken(String tokenName) | |
| isToken | back to summary |
|---|---|
| pack-priv final boolean isToken(int tokenType) | |
| isTokenCompat | back to summary |
|---|---|
| pack-priv final boolean isTokenCompat(String tokenName) | |
| openParametersScope | back to summary |
|---|---|
| pack-priv final BitSet openParametersScope() | |
| parseColumnList | back to summary |
|---|---|
| public Object parseColumnList(String sql, int offset) Parses a list of column names or numbers in parentheses.
| |
| parseNonKeywords | back to summary |
|---|---|
| public static BitSet parseNonKeywords(String[] nonKeywords) Parses the specified collection of non-keywords. | |
| quoteIdentifier | back to summary |
|---|---|
| public static String quoteIdentifier(String s, int sqlFlags) Add double quotes around an identifier if required. | |
| read | back to summary |
|---|---|
| pack-priv final void read(String expected) | |
| read | back to summary |
|---|---|
| pack-priv final void read(int tokenType) | |
| read | back to summary |
|---|---|
| pack-priv final void read() | |
| readBooleanSetting | back to summary |
|---|---|
| pack-priv final boolean readBooleanSetting() | |
| readCompat | back to summary |
|---|---|
| pack-priv final void readCompat(int tokenType) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(String tokenName) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(String tokenName1, String tokenName2) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(String tokenName1, int tokenType2) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(int tokenType) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(int tokenType1, int tokenType2) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(int tokenType1, String tokenName2) | |
| readIf | back to summary |
|---|---|
| pack-priv final boolean readIf(Object... tokensTypesOrNames) | |
| readIfCompat | back to summary |
|---|---|
| pack-priv final boolean readIfCompat(String tokenName) | |
| readIfCompat | back to summary |
|---|---|
| pack-priv final boolean readIfCompat(int tokenType) | |
| readIfCompat | back to summary |
|---|---|
| pack-priv final boolean readIfCompat(int tokenType1, int tokenType2) | |
| readIfCompat | back to summary |
|---|---|
| pack-priv final boolean readIfCompat(int tokenType1, String tokenName2) | |
| readIfCompat | back to summary |
|---|---|
| pack-priv final boolean readIfCompat(Object... tokensTypesOrNames) | |
| readIfMore | back to summary |
|---|---|
| pack-priv final boolean readIfMore() Read comma or closing brace.
| |
| readInt | back to summary |
|---|---|
| pack-priv final int readInt() | |
| readLong | back to summary |
|---|---|
| pack-priv final long readLong() | |
| readNonNegativeInt | back to summary |
|---|---|
| pack-priv final int readNonNegativeInt() | |
| readParameter | back to summary |
|---|---|
| pack-priv final Parameter readParameter() | |
| readPositiveLong | back to summary |
|---|---|
| pack-priv final long readPositiveLong() | |
| resetTokenIndex | back to summary |
|---|---|
| pack-priv final void resetTokenIndex() | |
| setLiteralsChecked | back to summary |
|---|---|
| public final void setLiteralsChecked(boolean literalsChecked) | |
| setSuppliedParameters | back to summary |
|---|---|
| public final void setSuppliedParameters(ArrayList<Parameter> suppliedParameters) | |
| setTokenIndex | back to summary |
|---|---|
| pack-priv final void setTokenIndex(int index) | |
| testToken | back to summary |
|---|---|
| private boolean testToken(Object expected, Token token) | |
| testToken | back to summary |
|---|---|
| private boolean testToken(String tokenName, Token token) | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| upperName | back to summary |
|---|---|
| pack-priv final String upperName(String name) | |