Modifier and Type | Method and Description |
---|---|
void |
LexerEngine.accept(TokenType tokenType)
Assert current token type should equals input token and go to next token type.
|
boolean |
LexerEngine.equalAny(TokenType... tokenTypes)
Adjust current token equals one of input tokens or not.
|
void |
LexerEngine.skipAll(TokenType... tokenTypes)
Skip all input tokens.
|
boolean |
LexerEngine.skipIfEqual(TokenType... tokenTypes)
Skip current token if equals one of input tokens.
|
void |
LexerEngine.skipUntil(TokenType... tokenTypes)
Skip until one of input tokens.
|
void |
LexerEngine.unsupportedIfEqual(TokenType... tokenTypes)
Throw unsupported exception if current token equals one of input tokens.
|
void |
LexerEngine.unsupportedIfNotSkip(TokenType... tokenTypes)
Throw unsupported exception if current token not equals one of input tokens.
|
Modifier and Type | Class and Description |
---|---|
class |
MySQLKeyword
MySQL keyword.
|
Modifier and Type | Class and Description |
---|---|
class |
OracleKeyword
Oracle keyword.
|
Modifier and Type | Class and Description |
---|---|
class |
PostgreSQLKeyword
PostgreSQL keyword.
|
Modifier and Type | Class and Description |
---|---|
class |
SQLServerKeyword
SQLServer keyword.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Keyword
Keyword interface.
|
Modifier and Type | Class and Description |
---|---|
class |
Assist
Assist token.
|
class |
DefaultKeyword
Default keyword.
|
class |
Literals
Literals token.
|
class |
Symbol
Symbol token.
|
Modifier and Type | Method and Description |
---|---|
protected TokenType[] |
AliasExpressionParser.getCustomizedAvailableKeywordsForSelectItemAlias() |
protected TokenType[] |
AliasExpressionParser.getCustomizedAvailableKeywordsForTableAlias() |
Modifier and Type | Method and Description |
---|---|
protected TokenType[] |
MySQLAliasExpressionParser.getCustomizedAvailableKeywordsForSelectItemAlias() |
protected TokenType[] |
MySQLAliasExpressionParser.getCustomizedAvailableKeywordsForTableAlias() |
Modifier and Type | Method and Description |
---|---|
protected TokenType[] |
OracleAliasExpressionParser.getCustomizedAvailableKeywordsForSelectItemAlias() |
protected TokenType[] |
OracleAliasExpressionParser.getCustomizedAvailableKeywordsForTableAlias() |
Modifier and Type | Method and Description |
---|---|
protected TokenType[] |
PostgreSQLAliasExpressionParser.getCustomizedAvailableKeywordsForSelectItemAlias() |
protected TokenType[] |
PostgreSQLAliasExpressionParser.getCustomizedAvailableKeywordsForTableAlias() |
Modifier and Type | Method and Description |
---|---|
protected TokenType[] |
SQLServerAliasExpressionParser.getCustomizedAvailableKeywordsForSelectItemAlias() |
protected TokenType[] |
SQLServerAliasExpressionParser.getCustomizedAvailableKeywordsForTableAlias() |
Constructor and Description |
---|
SQLParsingException(Lexer lexer,
TokenType expectedTokenType) |
SQLParsingUnsupportedException(TokenType tokenType) |
Modifier and Type | Method and Description |
---|---|
static SQLParser |
SQLParserFactory.newInstance(DatabaseType dbType,
TokenType tokenType,
ShardingRule shardingRule,
LexerEngine lexerEngine,
ShardingMetaData shardingMetaData)
Create SQL parser.
|
Copyright © 2018. All rights reserved.