java.io.Externalizable
, java.io.Serializable
, Formatable
, TypedFormat
, ConstantAction
public class DeleteConstantAction extends WriteCursorConstantAction
Modifier and Type | Field | Description |
---|---|---|
(package private) ConstantAction[] |
dependentCActions |
|
(package private) int |
numColumns |
This class implements Formatable.
|
(package private) ResultDescription |
resultDescription |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
conglomId, deferred, heapSCOCI, indexCIDS, indexNames, indexSCOCIs, irgs, lockMode, singleRowSource, targetUUID
Constructor | Description |
---|---|
DeleteConstantAction() |
Public niladic constructor.
|
DeleteConstantAction(long conglomId,
StaticCompiledOpenConglomInfo heapSCOCI,
IndexRowGenerator[] irgs,
long[] indexCIDS,
StaticCompiledOpenConglomInfo[] indexSCOCIs,
boolean deferred,
UUID targetUUID,
int lockMode,
FKInfo[] fkInfo,
TriggerInfo triggerInfo,
FormatableBitSet baseRowReadList,
int[] baseRowReadMap,
int[] streamStorableHeapColIds,
int numColumns,
boolean singleRowSource,
ResultDescription resultDescription,
ConstantAction[] dependentCActions,
boolean underMerge) |
Make the ConstantAction for an DELETE statement.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getTypeFormatId() |
Get the formatID which corresponds to this class.
|
void |
readExternal(java.io.ObjectInput in) |
Read this object from a stream of stored objects.
|
void |
writeExternal(java.io.ObjectOutput out) |
Write this object to a stream of stored objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeConstantAction, getBaseRowReadList, getBaseRowReadMap, getConglomerateId, getFKInfo, getIndexNameFromCID, getIndexNames, getProperty, getStreamStorableHeapColIds, getTargetProperties, getTriggerInfo, underMerge
int numColumns
ConstantAction[] dependentCActions
ResultDescription resultDescription
public DeleteConstantAction()
DeleteConstantAction(long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, boolean deferred, UUID targetUUID, int lockMode, FKInfo[] fkInfo, TriggerInfo triggerInfo, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableHeapColIds, int numColumns, boolean singleRowSource, ResultDescription resultDescription, ConstantAction[] dependentCActions, boolean underMerge)
conglomId
- Conglomerate ID.heapSCOCI
- StaticCompiledOpenConglomInfo for heap.irgs
- Index descriptorsindexCIDS
- Conglomerate IDs of indicesindexSCOCIs
- StaticCompiledOpenConglomInfos for indexes.deferred
- True means process as a deferred insert.targetUUID
- UUID of target tablelockMode
- The lock mode to use
(row or table, see TransactionController)fkInfo
- Array of structures containing foreign key info, if any (may be null)triggerInfo
- Array of structures containing trigger info, if any (may be null)baseRowReadList
- Map of columns read in. 1 based.streamStorableHeapColIds
- Null for non rep. (0 based)numColumns
- Number of columns to read.singleRowSource
- Whether or not source is a single row sourceunderMerge
- True if this is an action of a MERGE statement.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
WriteCursorConstantAction
readExternal
in interface java.io.Externalizable
readExternal
in class WriteCursorConstantAction
in
- read this.java.io.IOException
- thrown on errorjava.lang.ClassNotFoundException
- thrown on errorExternalizable.readExternal(java.io.ObjectInput)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
WriteCursorConstantAction
writeExternal
in interface java.io.Externalizable
writeExternal
in class WriteCursorConstantAction
out
- write bytes here.java.io.IOException
- thrown on errorpublic int getTypeFormatId()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.