Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute

public Class UpdatableVTIConstantAction

extends WriteCursorConstantAction
Class Inheritance
Imports
org.apache.derby.iapi.services.io.StoredFormatIds

This class describes compiled constants that are passed into Updatable VTIResultSets.

Field Summary

Modifier and TypeField and Description
public int[]
changedColumnIds

This class implements Formatable.

public int
Inherited from org.apache.derby.impl.sql.execute.WriteCursorConstantAction:
conglomIddeferredheapSCOCIindexCIDSindexNamesindexSCOCIsirgslockModesingleRowSourcetargetUUID

Constructor Summary

AccessConstructor and Description
public
UpdatableVTIConstantAction()

Public niladic constructor.

pack-priv
UpdatableVTIConstantAction(int statementType, boolean
Whether or not to do operation in deferred mode
deferred
,
int[]
Array of ids of changed columns
changedColumnIds
)

Make the ConstantAction for an updatable VTI statement.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the formatID of this class
getTypeFormatId
()

Implements org.apache.derby.iapi.services.io.TypedFormat.getTypeFormatId.

Get the formatID which corresponds to this class.

Inherited from org.apache.derby.impl.sql.execute.WriteCursorConstantAction:
executeConstantActiongetBaseRowReadListgetBaseRowReadMapgetConglomerateIdgetFKInfogetIndexNameFromCIDgetIndexNamesgetPropertygetStreamStorableHeapColIdsgetTargetPropertiesgetTriggerInforeadExternalunderMergewriteExternal

Field Detail

changedColumnIdsback to summary
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.

statementTypeback to summary
public int statementType

Constructor Detail

UpdatableVTIConstantActionback to summary
public UpdatableVTIConstantAction()

Public niladic constructor. Needed for Formatable interface to work.

UpdatableVTIConstantActionback to summary
pack-priv UpdatableVTIConstantAction(int statementType, boolean deferred, int[] changedColumnIds)

Make the ConstantAction for an updatable VTI statement.

Parameters
statementType:int

Statement type, cf. org.apache.derby.vti.DeferModification#INSERT_STATEMENT etc.

deferred:boolean

Whether or not to do operation in deferred mode

changedColumnIds:int[]

Array of ids of changed columns

Method Detail

getTypeFormatIdback to summary
public int getTypeFormatId()

Implements org.apache.derby.iapi.services.io.TypedFormat.getTypeFormatId.

Get the formatID which corresponds to this class.

Returns:int

the formatID of this class