| Package | Description |
|---|---|
| org.apache.ignite.internal.sql |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlLexer
SQL lexer.
|
class |
SqlLexerLookAheadToken
Plain immutable look-ahead parser token.
|
| Modifier and Type | Method and Description |
|---|---|
SqlLexerToken |
SqlLexer.lookAhead()
Get next token without lexer state change.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlParseException |
SqlParserUtils.error(SqlLexerToken token,
String msg)
Create parse exception referring to current lexer position.
|
static SqlParseException |
SqlParserUtils.errorUnexpectedToken(SqlLexerToken token)
Create generic parse exception due to unexpected token.
|
static SqlParseException |
SqlParserUtils.errorUnexpectedToken(SqlLexerToken token,
String firstExpToken,
String... expTokens)
Create generic parse exception due to unexpected token.
|
static SqlParseException |
SqlParserUtils.errorUnsupported(SqlLexerToken token)
Error on unsupported keyword.
|
static void |
SqlParserUtils.errorUnsupportedIfMatchesKeyword(SqlLexerToken token,
String... keywords)
Throw unsupported token exception if one of passed keywords is found.
|
static void |
SqlParserUtils.errorUnsupportedIfMatchesKeyword(SqlLexerToken token,
String keyword)
Throw unsupported token exception if passed keyword is found.
|
static boolean |
SqlParserUtils.isValidIdentifier(SqlLexerToken token)
Check if token is identifier.
|
static boolean |
SqlParserUtils.matchesKeyword(SqlLexerToken token,
String expKeyword)
Check if current lexer token matches expected.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018