public abstract class DataChangeStatement extends Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens| 限定符 | 构造器和说明 |
|---|---|
protected |
DataChangeStatement(SessionLocal session)
Creates new instance of DataChangeStatement.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract String |
getStatementName()
Return the name of this statement.
|
abstract Table |
getTable()
Return the target table.
|
boolean |
isCacheable() |
boolean |
isTransactional()
Check if this command is transactional.
|
void |
prepare()
Prepare this statement.
|
ResultInterface |
queryMeta()
Get an empty result set containing the meta data.
|
long |
update()
Execute the statement.
|
abstract long |
update(ResultTarget deltaChangeCollector,
DataChangeDeltaTable.ResultOption deltaChangeCollectionMode)
Execute the statement with specified delta change collector and collection mode.
|
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, getType, isQuery, isReadOnly, isWithParamValues, needRecompile, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toStringprotected DataChangeStatement(SessionLocal session)
session - the sessionpublic final void prepare()
Preparedpublic abstract String getStatementName()
public abstract Table getTable()
public final boolean isTransactional()
PreparedisTransactional 在类中 Preparedpublic final ResultInterface queryMeta()
Preparedpublic boolean isCacheable()
isCacheable 在类中 Preparedpublic final long update()
Preparedpublic abstract long update(ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode)
deltaChangeCollector - target resultdeltaChangeCollectionMode - collection modeCopyright © 2022. All rights reserved.