| Modifier and Type | Field and Description |
|---|---|
| private Column[] | |
| private boolean | |
| private Column[] | |
| private Query | |
| private Table | |
| private Update |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | collectDependencies(HashSet<DbObject>
collection of dependencies to populate dependencies)Overrides org. Find and collect all DbObjects, this Prepared depends on. |
| pack-priv void | |
| public StringBuilder | getPlanSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Overrides org. Appends the SQL statement with the execution plan. |
| public String | getStatementName()
Implements abstract org. Return the name of this statement. |
| public Table | getTable()
Implements abstract org. Return the target table. |
| public int | getType()
Implements abstract org. Get the command type as defined in CommandInterface |
| private int | Returns: 1 if row was inserted, 1 if row was updated by a MERGE statement, and 2 if row was updated by a REPLACE statementrow to replace row, Expression[] source expressions, or null expressions, ResultTarget target result deltaChangeCollector, DataChangeDeltaTable.collection mode deltaChangeCollectionModeUpdates an existing row or inserts a new one. |
| public void | |
| public void | setCommand(Command
the new command command)Overrides org. Set the command. |
| public void | |
| public void | |
| public void | |
| public long | update(ResultTarget
target result deltaChangeCollector, DataChangeDeltaTable.collection mode deltaChangeCollectionModeImplements abstract org. Execute the statement with specified delta change collector and collection mode. |
| columns | back to summary |
|---|---|
| private Column[] columns | |
| isReplace | back to summary |
|---|---|
| private boolean isReplace | |
| keys | back to summary |
|---|---|
| private Column[] keys | |
| query | back to summary |
|---|---|
| private Query query | |
| table | back to summary |
|---|---|
| private Table table | |
| update | back to summary |
|---|---|
| private Update update | |
| Merge | back to summary |
|---|---|
| public Merge(SessionLocal session, boolean isReplace) | |
| collectDependencies | back to summary |
|---|---|
| public void collectDependencies(HashSet<DbObject> dependencies) Overrides org. Doc from org. Find and collect all DbObjects, this Prepared depends on. | |
| doPrepare | back to summary |
|---|---|
| pack-priv void doPrepare() Implements abstract org.
| |
| getPlanSQL | back to summary |
|---|---|
| public StringBuilder getPlanSQL(StringBuilder builder, int sqlFlags) Overrides org. Doc from org. Appends the SQL statement with the execution plan.
| |
| getStatementName | back to summary |
|---|---|
| public String getStatementName() Implements abstract org. Doc from org. Return the name of this statement. | |
| getTable | back to summary |
|---|---|
| public Table getTable() Implements abstract org. Doc from org. Return the target table. | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the command type as defined in CommandInterface
| |
| merge | back to summary |
|---|---|
| private int merge(Row row, Expression[] expressions, ResultTarget deltaChangeCollector, DataChangeDeltaTable. Updates an existing row or inserts a new one.
| |
| setColumns | back to summary |
|---|---|
| public void setColumns(Column[] columns) | |
| setCommand | back to summary |
|---|---|
| public void setCommand(Command command) Overrides org. Doc from org. Set the command. | |
| setKeys | back to summary |
|---|---|
| public void setKeys(Column[] keys) | |
| setQuery | back to summary |
|---|---|
| public void setQuery(Query query) | |
| setTable | back to summary |
|---|---|
| public void setTable(Table table) | |
| update | back to summary |
|---|---|
| public long update(ResultTarget deltaChangeCollector, DataChangeDeltaTable. Implements abstract org. Doc from org. Execute the statement with specified delta change collector and collection mode.
| |