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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidacceptIdentifier(String text) intprotected Stringalias()protected Stringas()voidconfig(SQLParserFeature feature, boolean state) final LexergetLexer()protected booleanidentifierEquals(String text) final booleanisEnabled(SQLParserFeature feature) voidprotected SQLCreateTableStatementprotected voidprintError(Token token) protected voidsetErrorEndPos(int errPos) voidsetTimeZone(TimeZone timeZone) protected Stringprotected StringtableAlias(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
-