| java.lang.Object org.apache.derby.impl.sql.execute.WriteCursorConstantAction org.apache.derby.impl.sql.execute.UpdateConstantAction
UpdateConstantAction | public class UpdateConstantAction extends WriteCursorConstantAction (Code) | | This class describes compiled constants that are passed into
UpdateResultSets.
author: Rick Hillegas |
Constructor Summary | |
public | UpdateConstantAction() Public niladic constructor. | public | UpdateConstantAction(long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, String[] indexNames, ExecRow emptyHeapRow, boolean deferred, UUID targetUUID, int lockMode, int[] changedColumnIds, FKInfo[] fkInfo, TriggerInfo triggerInfo, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableHeapColIds, int numColumns, boolean positionedUpdate, boolean singleRowSource) Make the ConstantAction for an UPDATE statement.
Parameters: conglomId - Conglomerate ID. Parameters: heapSCOCI - StaticCompiledOpenConglomInfo for heap. Parameters: irgs - Index descriptors Parameters: indexCIDS - Conglomerate IDs of indices Parameters: indexSCOCIs - StaticCompiledOpenConglomInfos for indexes. Parameters: indexNames - Names of indices on this table for error reporting. Parameters: emptyHeapRow - Template for heap row. Parameters: deferred - True means process as a deferred update. Parameters: targetUUID - UUID of target table Parameters: lockMode - The lock mode to use(row or table, see TransactionController) Parameters: changedColumnIds - Array of ids of changed columns Parameters: fkInfo - Array of structures containing foreign key info, if any (may be null) Parameters: triggerInfo - Array of structures containing trigger info, if any (may be null) Parameters: baseRowReadList - Map of columns read in. |
changedColumnIds | int[] changedColumnIds(Code) | | 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.
|
numColumns | int numColumns(Code) | | |
UpdateConstantAction | public UpdateConstantAction()(Code) | | Public niladic constructor. Needed for Formatable interface to work.
|
UpdateConstantAction | public UpdateConstantAction(long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, String[] indexNames, ExecRow emptyHeapRow, boolean deferred, UUID targetUUID, int lockMode, int[] changedColumnIds, FKInfo[] fkInfo, TriggerInfo triggerInfo, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableHeapColIds, int numColumns, boolean positionedUpdate, boolean singleRowSource)(Code) | | Make the ConstantAction for an UPDATE statement.
Parameters: conglomId - Conglomerate ID. Parameters: heapSCOCI - StaticCompiledOpenConglomInfo for heap. Parameters: irgs - Index descriptors Parameters: indexCIDS - Conglomerate IDs of indices Parameters: indexSCOCIs - StaticCompiledOpenConglomInfos for indexes. Parameters: indexNames - Names of indices on this table for error reporting. Parameters: emptyHeapRow - Template for heap row. Parameters: deferred - True means process as a deferred update. Parameters: targetUUID - UUID of target table Parameters: lockMode - The lock mode to use(row or table, see TransactionController) Parameters: changedColumnIds - Array of ids of changed columns Parameters: fkInfo - Array of structures containing foreign key info, if any (may be null) Parameters: triggerInfo - Array of structures containing trigger info, if any (may be null) Parameters: baseRowReadList - Map of columns read in. 1 based. Parameters: baseRowReadMap - BaseRowReadMap[heapColId]->ReadRowColumnId. (0 based) Parameters: streamStorableHeapColIds - Null for non rep. (0 based) Parameters: numColumns - Number of columns being read. Parameters: positionedUpdate - is this a positioned update Parameters: singleRowSource - Whether or not source is a single row source |
getTypeFormatId | public int getTypeFormatId()(Code) | | Get the formatID which corresponds to this class.
the formatID of this class |
|
|