| Modifier and Type | Field and Description |
|---|---|
| private long[] | |
| pack-priv RowLocation[] | autoincRowLocation
An array of row location objects (0 based), one for each column in the table. |
| pack-priv int[] | changedColumnIds
This class implements Formatable. |
| private String[] | |
| pack-priv String | |
| pack-priv int | |
| private boolean | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | UpdateConstantAction(TableDescriptor
descriptor for the table to be updated targetTableDesc, StaticCompiledOpenConglomInfo StaticCompiledOpenConglomInfo for heap. heapSCOCI, IndexRowGenerator[] Index descriptors irgs, long[] Conglomerate IDs of indices indexCIDS, StaticCompiledOpenConglomInfo[] StaticCompiledOpenConglomInfos for indexes. indexSCOCIs, String[] Names of indices on this table for error reporting. indexNames, boolean True means process as a deferred update. deferred, UUID UUID of target table targetUUID, int The lock mode to use
(row or table, see TransactionController) lockMode, int[] Array of ids of changed columns changedColumnIds, FKInfo[] Array of structures containing foreign key info,
if any (may be null) fkInfo, TriggerInfo Array of structures containing trigger info,
if any (may be null) triggerInfo, FormatableBitSet Map of columns read in. 1 based. baseRowReadList, int[] BaseRowReadMap[heapColId]->ReadRowColumnId. (0 based) baseRowReadMap, int[] Null for non rep. (0 based) streamStorableHeapColIds, int Number of columns being read. numColumns, boolean is this a positioned update positionedUpdate, boolean Whether or not source is a single row source singleRowSource, RowLocation[] Array of rowlocations of autoincrement
values in SYSCOLUMNS for each ai column. autoincRowLocation, boolean True if this is an action of a MERGE statement. underMerge, String For 10.11 and higher, the handle on the sequence for the identity column identitySequenceUUIDString)Make the ConstantAction for an UPDATE statement. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| pack-priv RowLocation[] | |
| public String | |
| pack-priv String[] | |
| public String | |
| public String | |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| public boolean | Returns: True if the table has ai columnsDoes the target table has autoincrement columns. |
| public void | readExternal(ObjectInput
read this. in)Overrides org. Implements java. Read this object from a stream of stored objects. |
| public void | writeExternal(ObjectOutput
write bytes here. out)Overrides org. Implements java. Write this object to a stream of stored objects. |
| autoincIncrement | back to summary |
|---|---|
| private long[] autoincIncrement | |
| autoincRowLocation | back to summary |
|---|---|
| pack-priv RowLocation[] autoincRowLocation An array of row location objects (0 based), one for each column in the table. If the column is an autoincrement table then the array points to the row location of the column in SYSCOLUMNS. if not, then it contains null. | |
| changedColumnIds | back to summary |
|---|---|
| pack-priv int[] changedColumnIds This class implements Formatable. But it is NOT used across either major or minor releases. It is only written persistently in stored prepared statements, not in the replication stage. SO, IT IS OK TO CHANGE ITS read/writeExternal. | |
| columnNames | back to summary |
|---|---|
| private String[] columnNames | |
| identitySequenceUUIDString | back to summary |
|---|---|
| pack-priv String identitySequenceUUIDString | |
| numColumns | back to summary |
|---|---|
| pack-priv int numColumns | |
| positionedUpdate | back to summary |
|---|---|
| private boolean positionedUpdate | |
| schemaName | back to summary |
|---|---|
| private String schemaName | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| UpdateConstantAction | back to summary |
|---|---|
| public UpdateConstantAction() Public niladic constructor. Needed for Formatable interface to work. | |
| UpdateConstantAction | back to summary |
|---|---|
| pack-priv UpdateConstantAction(TableDescriptor targetTableDesc, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, String[] indexNames, boolean deferred, UUID targetUUID, int lockMode, int[] changedColumnIds, FKInfo[] fkInfo, TriggerInfo triggerInfo, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableHeapColIds, int numColumns, boolean positionedUpdate, boolean singleRowSource, RowLocation[] autoincRowLocation, boolean underMerge, String identitySequenceUUIDString) throws StandardException Make the ConstantAction for an UPDATE statement.
| |
| getAutoincIncrement | back to summary |
|---|---|
| public long getAutoincIncrement(int i) gets the increment value for a column.
| |
| getAutoincRowLocation | back to summary |
|---|---|
| pack-priv RowLocation[] getAutoincRowLocation() gets the row location | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int i) gets the name of the desired column in the taget table.
| |
| getColumnNames | back to summary |
|---|---|
| pack-priv String[] getColumnNames() get the array of column names in the target table. | |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName() | |
| getTableName | back to summary |
|---|---|
| public String getTableName() | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| hasAutoincrement | back to summary |
|---|---|
| public boolean hasAutoincrement() Does the target table has autoincrement columns.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Overrides org. Implements java. Doc from org. Read this object from a stream of stored objects.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Overrides org. Implements java. Doc from org. Write this object to a stream of stored objects.
| |