Modifier and Type | Method and Description |
---|---|
static List<SQLStatement> |
SQLUtils.parseStatements(String sql,
String dbType) |
static List<SQLStatement> |
SQLUtils.parseStatements(String sql,
String dbType,
boolean keepComments) |
static List<SQLStatement> |
SQLUtils.toStatementList(String sql,
String dbType) |
Modifier and Type | Method and Description |
---|---|
static void |
SQLUtils.addCondition(SQLStatement stmt,
SQLBinaryOperator op,
SQLExpr condition,
boolean left) |
static void |
SQLUtils.addSelectItem(SQLStatement stmt,
SQLExpr expr,
String alias,
boolean first) |
Modifier and Type | Method and Description |
---|---|
static SQLASTOutputVisitor |
SQLUtils.createFormatOutputVisitor(Appendable out,
List<SQLStatement> statementList,
String dbType) |
static SchemaStatVisitor |
SQLUtils.createSchemaStatVisitor(List<SQLStatement> statementList,
String dbType)
Deprecated.
|
static String |
SQLUtils.toSQLString(List<SQLStatement> statementList,
String dbType) |
static String |
SQLUtils.toSQLString(List<SQLStatement> statementList,
String dbType,
List<Object> parameters) |
static String |
SQLUtils.toSQLString(List<SQLStatement> statementList,
String dbType,
List<Object> parameters,
SQLUtils.FormatOption option) |
static String |
SQLUtils.toSQLString(List<SQLStatement> statementList,
String dbType,
List<Object> parameters,
SQLUtils.FormatOption option,
Map<String,String> tableMapping) |
static String |
SQLUtils.toSQLString(List<SQLStatement> statementList,
String dbType,
SQLUtils.FormatOption option) |
Modifier and Type | Class and Description |
---|---|
class |
SQLStatementImpl |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLStatementImpl.clone() |
SQLStatement |
SQLStatement.clone() |
Modifier and Type | Class and Description |
---|---|
class |
SQLCaseStatement |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLCaseStatement.Item.getStatement() |
Modifier and Type | Method and Description |
---|---|
List<SQLStatement> |
SQLCaseStatement.getElseStatements() |
Modifier and Type | Method and Description |
---|---|
void |
SQLCaseStatement.Item.setStatement(SQLStatement statement) |
Constructor and Description |
---|
Item(SQLExpr conditionExpr,
SQLStatement statement) |
Modifier and Type | Interface and Description |
---|---|
interface |
SQLAlterStatement |
interface |
SQLCreateStatement |
interface |
SQLDDLStatement |
interface |
SQLDropStatement |
Modifier and Type | Field and Description |
---|---|
SQLStatement |
SQLBlockStatement.exception |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLCreateProcedureStatement.getBlock() |
SQLStatement |
SQLCreateFunctionStatement.getBlock() |
SQLStatement |
SQLCreateTriggerStatement.getBody() |
SQLStatement |
SQLBlockStatement.getException() |
SQLStatement |
SQLWithSubqueryClause.Entry.getReturningStatement() |
SQLStatement |
SQLExplainStatement.getStatement() |
Modifier and Type | Method and Description |
---|---|
List<SQLStatement> |
SQLBlockStatement.getStatementList() |
List<SQLStatement> |
SQLWhileStatement.getStatements() |
List<SQLStatement> |
SQLLoopStatement.getStatements() |
List<SQLStatement> |
SQLIfStatement.getStatements() |
List<SQLStatement> |
SQLIfStatement.ElseIf.getStatements() |
List<SQLStatement> |
SQLIfStatement.Else.getStatements() |
Modifier and Type | Method and Description |
---|---|
void |
SQLLoopStatement.addStatement(SQLStatement stmt) |
void |
SQLIfStatement.addStatement(SQLStatement statement) |
void |
SQLCreateProcedureStatement.setBlock(SQLStatement block) |
void |
SQLCreateFunctionStatement.setBlock(SQLStatement block) |
void |
SQLCreateTriggerStatement.setBody(SQLStatement body) |
void |
SQLBlockStatement.setException(SQLStatement exception) |
void |
SQLWithSubqueryClause.Entry.setReturningStatement(SQLStatement returningStatement) |
void |
SQLExplainStatement.setStatement(SQLStatement statement) |
Modifier and Type | Method and Description |
---|---|
void |
SQLBlockStatement.setStatementList(List<SQLStatement> statementList) |
void |
SQLWhileStatement.setStatements(List<SQLStatement> statements) |
void |
SQLIfStatement.ElseIf.setStatements(List<SQLStatement> statements) |
void |
SQLIfStatement.Else.setStatements(List<SQLStatement> statements) |
static void |
SQLCreateTableStatement.sort(List<SQLStatement> stmtList) |
Modifier and Type | Interface and Description |
---|---|
interface |
DB2Statement |
Modifier and Type | Class and Description |
---|---|
class |
DB2StatementImpl |
Modifier and Type | Class and Description |
---|---|
class |
DB2CreateTableStatement |
class |
DB2ValuesStatement |
Modifier and Type | Method and Description |
---|---|
boolean |
DB2StatementParser.parseStatementListDialect(List<SQLStatement> statementList) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
H2StatementParser.parseMerge() |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
HiveStatementParser.parseMerge() |
Modifier and Type | Class and Description |
---|---|
class |
HiveCreateTableStatement |
Modifier and Type | Class and Description |
---|---|
class |
MySqlCaseStatement |
class |
MySqlCursorDeclareStatement |
class |
MySqlDeclareConditionStatement |
class |
MySqlDeclareHandlerStatement |
class |
MySqlDeclareStatement |
class |
MySqlIterateStatement |
class |
MySqlLeaveStatement |
class |
MySqlRepeatStatement |
class |
MySqlSelectIntoStatement |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
MySqlDeclareHandlerStatement.getSpStatement() |
Modifier and Type | Method and Description |
---|---|
List<SQLStatement> |
MySqlRepeatStatement.getStatements() |
List<SQLStatement> |
MySqlCaseStatement.MySqlWhenStatement.getStatements() |
Modifier and Type | Method and Description |
---|---|
static MySqlStatementType |
MySqlStatementType.getType(SQLStatement stmt) |
void |
MySqlDeclareHandlerStatement.setSpStatement(SQLStatement spStatement) |
Modifier and Type | Method and Description |
---|---|
void |
MySqlRepeatStatement.setStatements(List<SQLStatement> statements) |
void |
MySqlCaseStatement.MySqlWhenStatement.setStatements(List<SQLStatement> statements) |
Modifier and Type | Interface and Description |
---|---|
interface |
MySqlShowStatement |
interface |
MySqlStatement |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
MySqlCreateEventStatement.getEventBody() |
SQLStatement |
MySqlAlterEventStatement.getEventBody() |
Modifier and Type | Method and Description |
---|---|
void |
MySqlCreateEventStatement.setEventBody(SQLStatement eventBody) |
void |
MySqlAlterEventStatement.setEventBody(SQLStatement eventBody) |
Modifier and Type | Method and Description |
---|---|
static int |
MySqlProcedureExecutor.executeAssign(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeCase(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeClose(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeFetch(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeFunction(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeIf(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeLoop(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeOpen(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeSQL(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeStatement(SQLStatement stmt) |
static int |
MySqlProcedureExecutor.executeWhile(SQLStatement stmt) |
Modifier and Type | Method and Description |
---|---|
static int |
MySqlProcedureExecutor.executeStatements(List<SQLStatement> list) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
MySqlStatementParser.parseAlter() |
SQLStatement |
MySqlStatementParser.parseAlterDatabase() |
SQLStatement |
MySqlStatementParser.parseBinlog() |
SQLStatement |
MySqlStatementParser.parseCommit() |
SQLStatement |
MySqlStatementParser.parseCreate() |
SQLStatement |
MySqlStatementParser.parseCreateDatabase() |
SQLStatement |
MySqlStatementParser.parseCreateIndex(boolean acceptCreate) |
SQLStatement |
MySqlStatementParser.parseCreateServer() |
SQLStatement |
MySqlStatementParser.parseCreateTableSpace() |
SQLStatement |
MySqlStatementParser.parseCreateUser() |
SQLStatement |
MySqlStatementParser.parseDeclare()
parse declare statement
|
SQLStatement |
MySqlStatementParser.parseFlush() |
SQLStatement |
MySqlStatementParser.parseKill() |
SQLStatement |
MySqlStatementParser.parseRename() |
SQLStatement |
MySqlStatementParser.parseReset() |
SQLStatement |
MySqlStatementParser.parseSelect() |
SQLStatement |
MySqlStatementParser.parseSet() |
SQLStatement |
MySqlStatementParser.parseShow() |
SQLStatement |
MySqlStatementParser.parseSpStatement()
zhujun [455910092@qq.com]
parse spstatement
|
Modifier and Type | Method and Description |
---|---|
boolean |
MySqlStatementParser.parseStatementListDialect(List<SQLStatement> statementList) |
Modifier and Type | Method and Description |
---|---|
static List<SQLStatement> |
FromSubqueryResolver.resolve(SQLCreateViewStatement stmt) |
Constructor and Description |
---|
FromSubqueryResolver(List<SQLStatement> targetList,
String viewName) |
Modifier and Type | Class and Description |
---|---|
class |
OdpsAddStatisticStatement |
class |
OdpsAnalyzeTableStatement |
class |
OdpsCreateTableStatement |
class |
OdpsGrantStmt |
class |
OdpsInsertStatement |
class |
OdpsListStmt |
class |
OdpsReadStatement |
class |
OdpsRemoveStatisticStatement |
class |
OdpsSetLabelStatement |
class |
OdpsShowGrantsStmt |
class |
OdpsShowPartitionsStmt |
class |
OdpsShowStatisticStmt |
class |
OdpsStatementImpl |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
OdpsStatementParser.parseInsert() |
SQLStatement |
OdpsStatementParser.parseSet() |
SQLStatement |
OdpsStatementParser.parseShow() |
Modifier and Type | Method and Description |
---|---|
boolean |
OdpsStatementParser.parseStatementListDialect(List<SQLStatement> statementList) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
OdpsOutputVisitor.parseInsert() |
Modifier and Type | Interface and Description |
---|---|
interface |
OracleAlterStatement |
interface |
OracleDDLStatement |
interface |
OracleStatement |
Modifier and Type | Method and Description |
---|---|
List<SQLStatement> |
OracleForStatement.getStatements() |
List<SQLStatement> |
OracleExceptionStatement.Item.getStatements() |
List<SQLStatement> |
OracleCreatePackageStatement.getStatements() |
Modifier and Type | Method and Description |
---|---|
void |
OracleExceptionStatement.Item.setStatement(SQLStatement statement) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
OracleProcedureDataType.getBlock() |
SQLStatement |
OracleFunctionDataType.getBlock() |
SQLStatement |
OracleStatementParser.parseBlock() |
SQLStatement |
OracleStatementParser.parseCase() |
SQLStatement |
OracleStatementParser.parseCreateDbLink() |
SQLStatement |
OracleStatementParser.parseCreatePackage() |
SQLStatement |
OracleStatementParser.parseCreateSynonym() |
SQLStatement |
OracleStatementParser.parseCreateType() |
SQLStatement |
OracleStatementParser.parseDropSynonym() |
SQLStatement |
OracleStatementParser.parseDropType() |
SQLStatement |
OracleStatementParser.parseExecute() |
SQLStatement |
OracleStatementParser.parseFunction() |
SQLStatement |
OracleStatementParser.parseIf() |
SQLStatement |
OracleStatementParser.parsePipeRow() |
SQLStatement |
OracleStatementParser.parseRaise() |
SQLStatement |
OracleStatementParser.parserAlter() |
SQLStatement |
OracleStatementParser.parseRename() |
SQLStatement |
OracleStatementParser.parseReturn() |
SQLStatement |
OracleStatementParser.parseSet() |
SQLStatement |
OracleStatementParser.parseWhile() |
Modifier and Type | Method and Description |
---|---|
void |
OracleProcedureDataType.setBlock(SQLStatement block) |
void |
OracleFunctionDataType.setBlock(SQLStatement block) |
Modifier and Type | Method and Description |
---|---|
void |
OracleStatementParser.parseStatementList(List<SQLStatement> statementList,
int max,
SQLObject parent) |
Modifier and Type | Class and Description |
---|---|
class |
PhoenixStatementImpl
Created by wenshao on 16/9/14.
|
class |
PhoenixUpsertStatement
Created by wenshao on 16/9/14.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PGSQLStatement |
Modifier and Type | Class and Description |
---|---|
class |
PGDeleteStatement |
class |
PGInsertStatement |
class |
PGSelectStatement |
class |
PGShowStatement |
class |
PGStartTransactionStatement |
class |
PGUpdateStatement |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
PGSQLStatementParser.parseCommit() |
SQLStatement |
PGSQLStatementParser.parseSet() |
SQLStatement |
PGSQLStatementParser.parseShow() |
SQLStatement |
PGSQLStatementParser.parseWith() |
Modifier and Type | Method and Description |
---|---|
boolean |
PGSQLStatementParser.parseStatementListDialect(List<SQLStatement> statementList) |
Modifier and Type | Interface and Description |
---|---|
interface |
SQLServerStatement |
Modifier and Type | Class and Description |
---|---|
class |
SQLServerStatementImpl |
Modifier and Type | Class and Description |
---|---|
class |
SQLServerExecStatement |
class |
SQLServerInsertStatement |
class |
SQLServerRollbackStatement |
class |
SQLServerSetTransactionIsolationLevelStatement |
class |
SQLServerUpdateStatement |
class |
SQLServerWaitForStatement |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLServerWaitForStatement.getStatement() |
Modifier and Type | Method and Description |
---|---|
void |
SQLServerWaitForStatement.setStatement(SQLStatement statement) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLServerStatementParser.parseBlock() |
SQLStatement |
SQLServerStatementParser.parseCommit() |
SQLStatement |
SQLServerStatementParser.parseDeclare() |
SQLStatement |
SQLServerStatementParser.parseInsert() |
SQLStatement |
SQLServerStatementParser.parseSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
SQLServerStatementParser.parseStatementListDialect(List<SQLStatement> statementList) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SQLStatementParser.parseAlter() |
SQLStatement |
SQLStatementParser.parseBlock() |
SQLStatement |
SQLStatementParser.parseCase() |
SQLStatement |
SQLStatementParser.parseClose() |
SQLStatement |
SQLStatementParser.parseCommit() |
SQLStatement |
SQLStatementParser.parseCreate() |
SQLStatement |
SQLStatementParser.parseCreateDatabase() |
SQLStatement |
SQLStatementParser.parseCreateDbLink() |
SQLStatement |
SQLStatementParser.parseCreateIndex(boolean acceptCreate) |
SQLStatement |
SQLStatementParser.parseCreateMaterializedView() |
SQLStatement |
SQLStatementParser.parseCreatePackage() |
SQLStatement |
SQLStatementParser.parseCreateSequence(boolean acceptCreate) |
SQLStatement |
SQLStatementParser.parseCreateSynonym() |
SQLStatement |
SQLStatementParser.parseCreateTrigger() |
SQLStatement |
SQLStatementParser.parseCreateType() |
SQLStatement |
SQLStatementParser.parseCreateUser() |
SQLStatement |
SQLStatementParser.parseDeclare() |
SQLStatement |
SQLStatementParser.parseDescribe() |
SQLStatement |
SQLStatementParser.parseDrop() |
SQLStatement |
SQLStatementParser.parseDropIndex() |
SQLStatement |
SQLStatementParser.parseIf() |
SQLStatement |
SQLStatementParser.parseInsert() |
SQLStatement |
SQLStatementParser.parseKill() |
SQLStatement |
SQLStatementParser.parseLeave() |
SQLStatement |
SQLStatementParser.parseMerge() |
SQLStatement |
SQLStatementParser.parseReleaseSavePoint() |
SQLStatement |
SQLStatementParser.parseRename() |
SQLStatement |
SQLStatementParser.parseRepeat() |
SQLStatement |
SQLStatementParser.parseReturn() |
SQLStatement |
SQLStatementParser.parseSavePoint() |
SQLStatement |
SQLStatementParser.parseSelect() |
SQLStatement |
SQLStatementParser.parseSet() |
SQLStatement |
SQLStatementParser.parseShow() |
SQLStatement |
SQLStatementParser.parseStatement() |
SQLStatement |
SQLStatementParser.parseStatement(boolean tryBest) |
SQLStatement |
SQLStatementParser.parseTruncate() |
SQLStatement |
SQLStatementParser.parseUpsert() |
SQLStatement |
SQLStatementParser.parseWhile() |
SQLStatement |
SQLStatementParser.parseWith() |
Modifier and Type | Method and Description |
---|---|
List<SQLStatement> |
SQLStatementParser.parseStatementList() |
List<SQLStatement> |
SQLStatementParser.parseStatementList(SQLObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
SQLStatementParser.parseStatementList(List<SQLStatement> statementList) |
void |
SQLStatementParser.parseStatementList(List<SQLStatement> statementList,
int max) |
void |
SQLStatementParser.parseStatementList(List<SQLStatement> statementList,
int max,
SQLObject parent) |
boolean |
SQLStatementParser.parseStatementListDialect(List<SQLStatement> statementList) |
Modifier and Type | Method and Description |
---|---|
SQLStatement |
SchemaObjectImpl.getStatement() |
SQLStatement |
SchemaObject.getStatement() |
Modifier and Type | Method and Description |
---|---|
void |
SchemaRepository.accept(SQLStatement stmt) |
void |
SchemaRepository.resolve(SQLStatement stmt,
SchemaResolveVisitor.Option... options) |
Constructor and Description |
---|
SchemaObjectImpl(String name,
SchemaObjectType type,
SQLStatement statement) |
Modifier and Type | Method and Description |
---|---|
static String |
ParameterizedOutputVisitorUtils.parameterize(List<SQLStatement> statementList,
String dbType) |
Modifier and Type | Method and Description |
---|---|
List<SQLStatement> |
WallCheckResult.getStatementList() |
Constructor and Description |
---|
WallCheckResult(WallSqlStat sqlStat,
List<SQLStatement> stmtList) |
WallCheckResult(WallSqlStat sqlStat,
List<Violation> violations,
Map<String,WallSqlTableStat> tableStats,
Map<String,WallSqlFunctionStat> functionStats,
List<SQLStatement> statementList,
boolean syntaxError) |
Copyright © 2013–2017 Alibaba Group. All rights reserved.