| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | deleteRow(ExecRow
the row. baseRow, RowLocation the row's base conglomerate
location baseRowLocation)Delete a row from the table and perform associated index maintenance. |
| public int | Returns: column no, or -1 if not found or not a base columnthe column number in the base table of a selected
column or -1 (if selected column is not a base table
column, e.g. i+4). selectedCol)Return what column no in the input ExecRow (cf nextBaseRow argument to #updateRow) would correspond to selected column, if any. |
| public void | |
| public ConglomerateController | Returns: The ConglomerateController from this RowChanger.Return the ConglomerateController from this RowChanger. |
| public RowLocation | |
| public void | open(int
The lock mode to use
(row or table, see TransactionController) lockMode)Open this RowChanger. |
| public void | open(int
The lock mode to use
(row or table, see TransactionController) lockMode, boolean If true, then the caller wants to wait for locks. False will be
when we using a nested user xaction - we want to timeout right away
if the parent holds the lock. wait)Open this RowChanger. |
| public void | openForUpdate(boolean[]
fixOnUpdat[ix] == true ==> fix index 'ix' on
an update operation. fixOnUpdate, int The lock mode to use
(row or table, see TransactionController) lockMode, boolean If true, then the caller wants to wait for locks. False will be
when we using a nested user xaction - we want to timeout right away
if the parent holds the lock. (bug 4821) wait)Open this RowChanger to avoid fixing indexes that do not change during update operations. |
| public void | setIndexNames(String[]
Names of all the indices on this table. indexNames)Sets the index names of the tables indices. |
| public void | |
| public void | updateRow(ExecRow
the old image of the row. oldBaseRow, ExecRow the new image of the row. newBaseRow, RowLocation the row's base conglomerate
location baseRowLocation)Update a row in the table and perform associated index maintenance. |
| close | back to summary |
|---|---|
| public void close() throws StandardException Close this RowChanger.
| |
| deleteRow | back to summary |
|---|---|
| public void deleteRow(ExecRow baseRow, RowLocation baseRowLocation) throws StandardException Delete a row from the table and perform associated index maintenance.
| |
| findSelectedCol | back to summary |
|---|---|
| public int findSelectedCol(int selectedCol) Return what column no in the input ExecRow (cf nextBaseRow argument to #updateRow) would correspond to selected column, if any.
| |
| finish | back to summary |
|---|---|
| public void finish() throws StandardException Finish processing the changes. This means applying the deferred inserts for updates to unique indexes.
| |
| getHeapConglomerateController | back to summary |
|---|---|
| public ConglomerateController getHeapConglomerateController() Return the ConglomerateController from this RowChanger. This is useful when copying properties from heap to temp conglomerate on insert/update/delete.
| |
| insertRow | back to summary |
|---|---|
| public RowLocation insertRow(ExecRow baseRow, boolean getRL) throws StandardException Insert a row into the table and perform associated index maintenance.
| |
| open | back to summary |
|---|---|
| public void open(int lockMode) throws StandardException Open this RowChanger. Note to avoid the cost of fixing indexes that do not change during update operations use openForUpdate().
| |
| open | back to summary |
|---|---|
| public void open(int lockMode, boolean wait) throws StandardException Open this RowChanger. Note to avoid the cost of fixing indexes that do not change during update operations use openForUpdate().
| |
| openForUpdate | back to summary |
|---|---|
| public void openForUpdate(boolean[] fixOnUpdate, int lockMode, boolean wait) throws StandardException Open this RowChanger to avoid fixing indexes that do not change during update operations.
| |
| setIndexNames | back to summary |
|---|---|
| public void setIndexNames(String[] indexNames) Sets the index names of the tables indices. Used for error reporting.
| |
| setRowHolder | back to summary |
|---|---|
| public void setRowHolder(TemporaryRowHolder rowHolder) Set the row holder for this changer to use. If the row holder is set, it wont bother saving copies of rows needed for deferred processing. Also, it will never close the passed in rowHolder.
| |
| updateRow | back to summary |
|---|---|
| public void updateRow(ExecRow oldBaseRow, ExecRow newBaseRow, RowLocation baseRowLocation) throws StandardException Update a row in the table and perform associated index maintenance.
| |