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

public class UpdatableVTIConstantAction extends WriteCursorConstantAction
This class describes compiled constants that are passed into Updatable VTIResultSets.
See Also:
  • Field Details

    • 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 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 mode
      changedColumnIds - 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