public class SQLParser extends Object
| Constructor and Description |
|---|
SQLParser(Lexer lexer) |
SQLParser(Lexer lexer,
DbType dbType) |
SQLParser(String sql) |
SQLParser(String sql,
DbType dbType,
SQLParserFeature... features) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Token token) |
int |
acceptInteger() |
void |
config(SQLParserFeature feature,
boolean state) |
DbType |
getDbType() |
Lexer |
getLexer() |
TimeZone |
getTimeZone() |
boolean |
isEnabled(SQLParserFeature feature) |
void |
match(Token token) |
void |
setTimeZone(TimeZone timeZone) |
public SQLParser(String sql, DbType dbType, SQLParserFeature... features)
public SQLParser(String sql)
public SQLParser(Lexer lexer)
public final Lexer getLexer()
public DbType getDbType()
public void accept(Token token)
public int acceptInteger()
public void match(Token token)
public void config(SQLParserFeature feature, boolean state)
public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public final boolean isEnabled(SQLParserFeature feature)
Copyright © 2013–2022 Alibaba Group. All rights reserved.