Class UpdatableVTIConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.WriteCursorConstantAction
org.apache.derby.impl.sql.execute.UpdatableVTIConstantAction
- All Implemented Interfaces:
Externalizable
,Serializable
,Formatable
,TypedFormat
,ConstantAction
This class describes compiled constants that are passed into
Updatable VTIResultSets.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]
This class implements Formatable.int
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
ConstructorsConstructorDescriptionPublic niladic constructor.UpdatableVTIConstantAction
(int statementType, boolean deferred, int[] changedColumnIds) Make the ConstantAction for an updatable VTI statement. -
Method Summary
Modifier and TypeMethodDescriptionint
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 Details
-
changedColumnIds
public int[] changedColumnIdsThis 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 Details
-
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
-
-
Method Details
-
getTypeFormatId
public int getTypeFormatId()Get the formatID which corresponds to this class.- Returns:
- the formatID of this class
-