public final class Merge extends CommandWithValues
valuesExpressionListcreate, parameters, prepareAlways, session, sqlStatement, sqlTokens| 构造器和说明 |
|---|
Merge(SessionLocal session,
boolean isReplace) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
collectDependencies(HashSet<DbObject> dependencies)
Find and collect all DbObjects, this Prepared depends on.
|
String |
getPlanSQL(int sqlFlags)
Get the SQL statement with the execution plan.
|
String |
getStatementName()
Return the name of this statement.
|
Table |
getTable()
Return the target table.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setColumns(Column[] columns) |
void |
setCommand(Command command)
Set the command.
|
void |
setKeys(Column[] keys) |
void |
setQuery(Query query) |
void |
setTable(Table table) |
long |
update(ResultTarget deltaChangeCollector,
DataChangeDeltaTable.ResultOption deltaChangeCollectionMode)
Execute the statement with specified delta change collector and collection mode.
|
addRowisCacheable, isTransactional, prepare, queryMeta, updatecheckCanceled, checkParameters, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getSession, getSimpleSQL, getSQL, getSQLTokens, isQuery, isReadOnly, isWithParamValues, needRecompile, query, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toStringpublic Merge(SessionLocal session, boolean isReplace)
public void setCommand(Command command)
PreparedsetCommand 在类中 Preparedcommand - the new commandpublic Table getTable()
DataChangeStatementgetTable 在类中 DataChangeStatementpublic void setTable(Table table)
public void setColumns(Column[] columns)
public void setKeys(Column[] keys)
public void setQuery(Query query)
public long update(ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode)
DataChangeStatementupdate 在类中 DataChangeStatementdeltaChangeCollector - target resultdeltaChangeCollectionMode - collection modepublic String getPlanSQL(int sqlFlags)
PreparedgetPlanSQL 在类中 PreparedsqlFlags - formatting flagspublic int getType()
Preparedpublic String getStatementName()
DataChangeStatementgetStatementName 在类中 DataChangeStatementpublic void collectDependencies(HashSet<DbObject> dependencies)
PreparedcollectDependencies 在类中 Prepareddependencies - collection of dependencies to populateCopyright © 2022. All rights reserved.