| Modifier and Type | Field and Description |
|---|---|
| private FormatableBitSet | |
| private int[] | |
| pack-priv long | conglomId
This class implements Formatable. |
| pack-priv boolean | |
| private FKInfo[] | |
| pack-priv StaticCompiledOpenConglomInfo | |
| pack-priv long[] | |
| pack-priv String[] | |
| pack-priv StaticCompiledOpenConglomInfo[] | |
| pack-priv IndexRowGenerator[] | |
| pack-priv int | |
| pack-priv boolean | |
| private int[] | |
| private Properties | |
| pack-priv UUID | |
| private TriggerInfo | |
| private boolean | underMerge
True if this is an action of a MERGE statement |
| Access | Constructor and Description |
|---|---|
| public | |
| public | WriteCursorConstantAction(long
Conglomerate ID of heap. conglomId, 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, Properties Properties on the target table targetProperties, UUID UUID of target table targetUUID, int The lock mode to use on the target table lockMode, FKInfo[] Structure containing foreign key info, if any (may be null) fkInfo, TriggerInfo Structure containing trigger info, if any (may be null) triggerInfo, FormatableBitSet baseRowReadList, int[] BaseRowReadMap[heapColId]->ReadRowColumnId. (0 based) baseRowReadMap, int[] Null for non rep. (0 based) streamStorableHeapColIds, boolean Whether or not source is a single row source singleRowSource, boolean True if this action is under a MERGE statement underMerge)Make the ConstantAction for a DELETE, INSERT, or UPDATE statement. |
| Modifier and Type | Method and Description |
|---|---|
| public final void | executeConstantAction(Activation
The execution environment for this constant action. activation)Implements org. NOP routine. |
| public FormatableBitSet | |
| public int[] | |
| public long | |
| pack-priv final FKInfo[] | Returns: the list of foreign keys to enforce for this actionGets the foreign key information for this constant action. |
| public String | Returns: index name of given index.conglomerate ID of the index. indexCID)get the index name given the conglomerate id of the index. |
| public String[] | |
| public String | Returns: The value for the specified key if it exists, otherwise null. (Return null if targetProperties is null.)The key to search for key)The the value of the specified key, if it exists, from the targetProperties. |
| public int[] | |
| public Properties | Returns: The targetPropertiesGet the targetProperties from the constant action. |
| pack-priv TriggerInfo | Returns: the triggers that should be firedBasically, the same as getFKInfo but for triggers. |
| public void | readExternal(ObjectInput
read this. in)Implements java. Read this object from a stream of stored objects. |
| public boolean | |
| public void | writeExternal(ObjectOutput
write bytes here. out)Implements java. Write this object to a stream of stored objects. |
| baseRowReadList | back to summary |
|---|---|
| private FormatableBitSet baseRowReadList | |
| baseRowReadMap | back to summary |
|---|---|
| private int[] baseRowReadMap | |
| conglomId | back to summary |
|---|---|
| pack-priv long conglomId 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. | |
| deferred | back to summary |
|---|---|
| pack-priv boolean deferred | |
| fkInfo | back to summary |
|---|---|
| private FKInfo[] fkInfo | |
| heapSCOCI | back to summary |
|---|---|
| pack-priv StaticCompiledOpenConglomInfo heapSCOCI | |
| indexCIDS | back to summary |
|---|---|
| pack-priv long[] indexCIDS | |
| indexNames | back to summary |
|---|---|
| pack-priv String[] indexNames | |
| indexSCOCIs | back to summary |
|---|---|
| pack-priv StaticCompiledOpenConglomInfo[] indexSCOCIs | |
| irgs | back to summary |
|---|---|
| pack-priv IndexRowGenerator[] irgs | |
| lockMode | back to summary |
|---|---|
| pack-priv int lockMode | |
| singleRowSource | back to summary |
|---|---|
| pack-priv boolean singleRowSource | |
| streamStorableHeapColIds | back to summary |
|---|---|
| private int[] streamStorableHeapColIds | |
| targetProperties | back to summary |
|---|---|
| private Properties targetProperties | |
| targetUUID | back to summary |
|---|---|
| pack-priv UUID targetUUID | |
| triggerInfo | back to summary |
|---|---|
| private TriggerInfo triggerInfo | |
| underMerge | back to summary |
|---|---|
| private boolean underMerge True if this is an action of a MERGE statement | |
| WriteCursorConstantAction | back to summary |
|---|---|
| public WriteCursorConstantAction() Public niladic constructor. Needed for Formatable interface to work. | |
| WriteCursorConstantAction | back to summary |
|---|---|
| public WriteCursorConstantAction(long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, String[] indexNames, boolean deferred, Properties targetProperties, UUID targetUUID, int lockMode, FKInfo[] fkInfo, TriggerInfo triggerInfo, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableHeapColIds, boolean singleRowSource, boolean underMerge) Make the ConstantAction for a DELETE, INSERT, or UPDATE statement.
| |
| executeConstantAction | back to summary |
|---|---|
| public final void executeConstantAction(Activation activation) throws StandardException Implements org. NOP routine. The work is done in InsertResultSet.
| |
| getBaseRowReadList | back to summary |
|---|---|
| public FormatableBitSet getBaseRowReadList() | |
| getBaseRowReadMap | back to summary |
|---|---|
| public int[] getBaseRowReadMap() | |
| getConglomerateId | back to summary |
|---|---|
| public long getConglomerateId() Get the conglomerate id for the changed heap.
| |
| getFKInfo | back to summary |
|---|---|
| pack-priv final FKInfo[] getFKInfo() Gets the foreign key information for this constant action. A full list of foreign keys was compiled into this constant action.
| |
| getIndexNameFromCID | back to summary |
|---|---|
| public String getIndexNameFromCID(long indexCID) get the index name given the conglomerate id of the index.
| |
| getIndexNames | back to summary |
|---|---|
| public String[] getIndexNames() | |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key) The the value of the specified key, if it exists, from the targetProperties. | |
| getStreamStorableHeapColIds | back to summary |
|---|---|
| public int[] getStreamStorableHeapColIds() | |
| getTargetProperties | back to summary |
|---|---|
| public Properties getTargetProperties() Get the targetProperties from the constant action.
| |
| getTriggerInfo | back to summary |
|---|---|
| pack-priv TriggerInfo getTriggerInfo() Basically, the same as getFKInfo but for triggers.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object from a stream of stored objects.
| |
| underMerge | back to summary |
|---|---|
| public boolean underMerge() Return true if this is an action of a MERGE statement | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this object to a stream of stored objects.
| |