T - the type parameterS - the type parameterpublic class DeleteExecutor<T,S extends Statement> extends AbstractDMLBaseExecutor<T,S>
GROUP_BY, WHEREsqlRecognizer, sqlRecognizers, statementCallback, statementProxy| Constructor and Description |
|---|
DeleteExecutor(StatementProxy<S> statementProxy,
StatementCallback<T,S> statementCallback,
SQLRecognizer sqlRecognizer)
Instantiates a new Delete executor.
|
| Modifier and Type | Method and Description |
|---|---|
protected TableRecords |
afterImage(TableRecords beforeImage)
After image table records.
|
protected TableRecords |
beforeImage()
Before image table records.
|
protected String |
buildBeforeImageSQL(SQLDeleteRecognizer visitor,
TableMeta tableMeta,
ArrayList<List<Object>> paramAppenderList) |
doExecute, executeAutoCommitFalse, executeAutoCommitTruebuildLimitCondition, buildLockKey, buildOrderCondition, buildTableRecords, buildTableRecords, buildUndoItem, buildWhereCondition, containPK, containsPK, containsPK, execute, getColumnNameInSQL, getColumnNamesInSQL, getColumnNamesInSQLList, getColumnNamesWithTablePrefix, getColumnNamesWithTablePrefixList, getColumnNameWithTablePrefix, getDbType, getFromTableInSQL, getNeedColumns, getStandardPkColumnName, getTableMeta, getTableMeta, prepareUndoLog, validPkpublic DeleteExecutor(StatementProxy<S> statementProxy, StatementCallback<T,S> statementCallback, SQLRecognizer sqlRecognizer)
statementProxy - the statement proxystatementCallback - the statement callbacksqlRecognizer - the sql recognizerprotected TableRecords beforeImage() throws SQLException
AbstractDMLBaseExecutorbeforeImage in class AbstractDMLBaseExecutor<T,S extends Statement>SQLException - the sql exceptionprotected String buildBeforeImageSQL(SQLDeleteRecognizer visitor, TableMeta tableMeta, ArrayList<List<Object>> paramAppenderList)
protected TableRecords afterImage(TableRecords beforeImage) throws SQLException
AbstractDMLBaseExecutorafterImage in class AbstractDMLBaseExecutor<T,S extends Statement>beforeImage - the before imageSQLException - the sql exceptionCopyright © 2024 Apache. All rights reserved.