Class UpdatableVTIConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.WriteCursorConstantAction
-
- org.apache.derby.impl.sql.execute.UpdatableVTIConstantAction
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,Formatable
,TypedFormat
,ConstantAction
public class UpdatableVTIConstantAction extends WriteCursorConstantAction
This class describes compiled constants that are passed into Updatable VTIResultSets.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int[]
changedColumnIds
This class implements Formatable.int
statementType
-
Fields inherited from class org.apache.derby.impl.sql.execute.WriteCursorConstantAction
conglomId, deferred, heapSCOCI, indexCIDS, indexNames, indexSCOCIs, irgs, lockMode, singleRowSource, targetUUID
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors Constructor Description UpdatableVTIConstantAction()
Public niladic constructor.UpdatableVTIConstantAction(int statementType, boolean deferred, int[] changedColumnIds)
Make the ConstantAction for an updatable VTI statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTypeFormatId()
Get the formatID which corresponds to this class.-
Methods inherited from class org.apache.derby.impl.sql.execute.WriteCursorConstantAction
executeConstantAction, getBaseRowReadList, getBaseRowReadMap, getConglomerateId, getFKInfo, getIndexNameFromCID, getIndexNames, getProperty, getStreamStorableHeapColIds, getTargetProperties, getTriggerInfo, readExternal, underMerge, writeExternal
-
-
-
-
Field Detail
-
changedColumnIds
public 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.
-
statementType
public int statementType
-
-
Constructor Detail
-
UpdatableVTIConstantAction
public UpdatableVTIConstantAction()
Public niladic constructor. Needed for Formatable interface to work.
-
UpdatableVTIConstantAction
UpdatableVTIConstantAction(int statementType, boolean deferred, int[] changedColumnIds)
Make the ConstantAction for an updatable VTI statement.- Parameters:
statementType
- Statement type, cf.DeferModification.INSERT_STATEMENT
etc.deferred
- Whether or not to do operation in deferred modechangedColumnIds
- Array of ids of changed columns
-
-