Package com.alibaba.druid.sql.parser
Class SQLParser
java.lang.Object
com.alibaba.druid.sql.parser.SQLParser
- Direct Known Subclasses:
SQLExprParser
,SQLSelectParser
,SQLStatementParser
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
acceptIdentifier
(String text) int
protected String
alias()
protected String
as()
void
config
(SQLParserFeature feature, boolean state) final Lexer
getLexer()
protected boolean
identifierEquals
(String text) final boolean
isEnabled
(SQLParserFeature feature) void
protected SQLCreateTableStatement
protected void
printError
(Token token) protected void
setErrorEndPos
(int errPos) void
setTimeZone
(TimeZone timeZone) protected String
protected String
tableAlias
(boolean must)
-
Field Details
-
lexer
-
dbType
-
-
Constructor Details
-
SQLParser
-
SQLParser
-
SQLParser
-
SQLParser
-
-
Method Details
-
getLexer
-
getDbType
-
identifierEquals
-
acceptIdentifier
-
tableAlias
-
tableAlias
-
as
-
alias
-
printError
-
accept
-
acceptInteger
public int acceptInteger() -
match
-
setErrorEndPos
protected void setErrorEndPos(int errPos) -
config
-
getTimeZone
-
setTimeZone
-
isEnabled
-
newCreateStatement
-