public class SQLParser extends Object
| 构造器和说明 |
|---|
SQLParser(Lexer lexer) |
SQLParser(Lexer lexer,
DbType dbType) |
SQLParser(String sql) |
SQLParser(String sql,
DbType dbType,
SQLParserFeature... features) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(Token token) |
protected void |
acceptIdentifier(String text) |
int |
acceptInteger() |
protected String |
alias() |
protected String |
as() |
void |
config(SQLParserFeature feature,
boolean state) |
DbType |
getDbType() |
Lexer |
getLexer() |
TimeZone |
getTimeZone() |
protected boolean |
identifierEquals(String text) |
boolean |
isEnabled(SQLParserFeature feature) |
void |
match(Token token) |
protected SQLCreateTableStatement |
newCreateStatement() |
protected void |
printError(Token token) |
protected void |
setErrorEndPos(int errPos) |
void |
setTimeZone(TimeZone timeZone) |
protected String |
tableAlias() |
protected String |
tableAlias(boolean must) |
public SQLParser(String sql, DbType dbType, SQLParserFeature... features)
public SQLParser(String sql)
public SQLParser(Lexer lexer)
public final Lexer getLexer()
public DbType getDbType()
protected boolean identifierEquals(String text)
protected void acceptIdentifier(String text)
protected String tableAlias()
protected String tableAlias(boolean must)
protected String as()
protected String alias()
protected void printError(Token token)
public void accept(Token token)
public int acceptInteger()
public void match(Token token)
protected void setErrorEndPos(int errPos)
public void config(SQLParserFeature feature, boolean state)
public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public final boolean isEnabled(SQLParserFeature feature)
protected SQLCreateTableStatement newCreateStatement()
Copyright © 2013–2023. All rights reserved.