public class PostgresqlInsertRecognizer extends BasePostgresqlRecognizer implements SQLInsertRecognizer
BaseRecognizer.VMarkeroriginalSQL| 构造器和说明 |
|---|
PostgresqlInsertRecognizer(String originalSQL,
com.alibaba.druid.sql.ast.SQLStatement ast)
Instantiates a new Postgresql insert recognizer.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
getInsertColumns()
Gets insert columns.
|
List<List<Object>> |
getInsertRows(Collection<Integer> primaryKeyIndex)
Gets insert rows.
|
SQLType |
getSQLType()
Type of the SQL.
|
String |
getTableAlias()
TableRecords source related in the SQL, including alias if any.
|
String |
getTableName()
TableRecords name related in the SQL.
|
boolean |
insertColumnsIsEmpty()
insert columns is empty.
|
createOutputVisitor, getWhereCondition, getWhereConditionexecuteVisit, getOriginalSQLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOriginalSQLpublic PostgresqlInsertRecognizer(String originalSQL, com.alibaba.druid.sql.ast.SQLStatement ast)
originalSQL - the original sqlast - the astpublic SQLType getSQLType()
SQLRecognizergetSQLType 在接口中 SQLRecognizerpublic String getTableAlias()
SQLRecognizergetTableAlias 在接口中 SQLRecognizerpublic String getTableName()
SQLRecognizergetTableName 在接口中 SQLRecognizer#getTableAlias()#getTableAlias()public boolean insertColumnsIsEmpty()
SQLInsertRecognizerinsertColumnsIsEmpty 在接口中 SQLInsertRecognizerpublic List<String> getInsertColumns()
SQLInsertRecognizergetInsertColumns 在接口中 SQLInsertRecognizerpublic List<List<Object>> getInsertRows(Collection<Integer> primaryKeyIndex)
SQLInsertRecognizergetInsertRows 在接口中 SQLInsertRecognizerprimaryKeyIndex - insert sql primary key index.Copyright © 2020 Seata. All rights reserved.