public class MySQLInsertRecognizer extends BaseMySQLRecognizer implements SQLInsertRecognizer
BaseRecognizer.VMarkeroriginalSQL| 构造器和说明 |
|---|
MySQLInsertRecognizer(String originalSQL,
com.alibaba.druid.sql.ast.SQLStatement ast)
Instantiates a new My sql insert recognizer.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected com.alibaba.druid.sql.ast.SQLStatement |
getAst() |
List<String> |
getDuplicateKeyUpdate() |
List<String> |
getInsertColumns() |
List<String> |
getInsertParamsValue() |
List<List<Object>> |
getInsertRows(Collection<Integer> primaryKeyIndex) |
SQLType |
getSQLType() |
String |
getTableAlias() |
String |
getTableName() |
boolean |
insertColumnsIsEmpty() |
createOutputVisitor, getLimitCondition, getLimitCondition, getOrderByCondition, getOrderByCondition, getWhereCondition, getWhereConditionexecuteLimit, executeOrderBy, executeVisit, getOriginalSQL, isSqlSyntaxSupports, wrapSQLParsingExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOriginalSQL, isSqlSyntaxSupportspublic MySQLInsertRecognizer(String originalSQL, com.alibaba.druid.sql.ast.SQLStatement ast)
originalSQL - the original sqlast - the astpublic SQLType getSQLType()
getSQLType 在接口中 SQLRecognizerpublic String getTableAlias()
getTableAlias 在接口中 SQLRecognizerpublic String getTableName()
getTableName 在接口中 SQLRecognizerpublic boolean insertColumnsIsEmpty()
insertColumnsIsEmpty 在接口中 SQLInsertRecognizerpublic List<String> getInsertColumns()
getInsertColumns 在接口中 SQLInsertRecognizerpublic List<List<Object>> getInsertRows(Collection<Integer> primaryKeyIndex)
getInsertRows 在接口中 SQLInsertRecognizerpublic List<String> getInsertParamsValue()
getInsertParamsValue 在接口中 SQLInsertRecognizerpublic List<String> getDuplicateKeyUpdate()
getDuplicateKeyUpdate 在接口中 SQLInsertRecognizerprotected com.alibaba.druid.sql.ast.SQLStatement getAst()
getAst 在类中 BaseRecognizerCopyright © 2022 Seata. All rights reserved.