@LoadLevel(name="postgresql", scope=PROTOTYPE) public class PostgresqlInsertExecutor extends BaseInsertExecutor implements Sequenceable, Defaultable
PLACEHOLDERGROUP_BY, WHEREsqlRecognizer, sqlRecognizers, statementCallback, statementProxy| Constructor and Description |
|---|
PostgresqlInsertExecutor(StatementProxy statementProxy,
StatementCallback statementCallback,
SQLRecognizer sqlRecognizer)
Instantiates a new Abstract dml base executor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Object>> |
getPkValues()
get primary key values.
|
Map<String,List<Object>> |
getPkValuesByColumn()
get primary key values by insert column.
|
List<Object> |
getPkValuesByDefault()
Deprecated.
|
List<Object> |
getPkValuesByDefault(String pkKey)
get primary key values by default
|
String |
getSequenceSql(SqlSequenceExpr expr)
get sequence sql.
|
afterImage, beforeImage, checkPkValues, checkPkValuesForMultiPk, checkPkValuesForSinglePk, containsColumns, containsPK, getGeneratedKeys, getGeneratedKeys, getPkIndex, getPkValuesBySequence, getPkValuesBySequence, parsePkValuesFromStatementdoExecute, executeAutoCommitFalse, executeAutoCommitTruebuildLimitCondition, buildLockKey, buildOrderCondition, buildTableRecords, buildTableRecords, buildUndoItem, buildWhereCondition, containPK, containsPK, containsPK, execute, getColumnNameInSQL, getColumnNamesInSQL, getColumnNamesWithTablePrefix, getColumnNamesWithTablePrefixList, getColumnNameWithTablePrefix, getDbType, getFromTableInSQL, getStandardPkColumnName, getTableMeta, getTableMeta, prepareUndoLogpublic PostgresqlInsertExecutor(StatementProxy statementProxy, StatementCallback statementCallback, SQLRecognizer sqlRecognizer)
statementProxy - the statement proxystatementCallback - the statement callbacksqlRecognizer - the sql recognizerpublic Map<String,List<Object>> getPkValues() throws SQLException
InsertExecutorgetPkValues in interface InsertExecutorSQLException - the sql exceptionpublic Map<String,List<Object>> getPkValuesByColumn() throws SQLException
InsertExecutorgetPkValuesByColumn in interface InsertExecutorSQLException - the sql exception@Deprecated public List<Object> getPkValuesByDefault() throws SQLException
getPkValuesByDefault in interface DefaultableSQLException - the sql exceptionpublic List<Object> getPkValuesByDefault(String pkKey) throws SQLException
getPkValuesByDefault in interface DefaultablepkKey - the pk keySQLException - the sql exceptionpublic String getSequenceSql(SqlSequenceExpr expr)
SequenceablegetSequenceSql in interface Sequenceableexpr - the exprCopyright © 2022 Seata. All rights reserved.