org.apache.derby.impl.sql.execute
Class UpdatableVTIConstantAction

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.WriteCursorConstantAction
      extended by 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
 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
 
Constructor Summary
UpdatableVTIConstantAction()
          Public niladic constructor.
UpdatableVTIConstantAction(int statementType, boolean deferred, int[] changedColumnIds)
          Make the ConstantAction for an updatable VTI statement.
 
Method Summary
 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, getEmptyHeapRow, getFKInfo, getIndexNameFromCID, getIndexNames, getProperty, getStreamStorableHeapColIds, getTargetProperties, getTriggerInfo, readExternal, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

public UpdatableVTIConstantAction(int statementType,
                                  boolean deferred,
                                  int[] changedColumnIds)
Make the ConstantAction for an updatable VTI statement.

Parameters:
deferred - Whether or not to do operation in deferred mode
changedColumnIds - Array of ids of changed columns
Method Detail

getTypeFormatId

public int getTypeFormatId()
Get the formatID which corresponds to this class.

Returns:
the formatID of this class

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.