Documentation of 'org.apache.derby.impl.sql.execute.UpdatableVTIConstantAction' Java class
UpdatableVTIConstantAction
org.apache.derby.impl.sql.execute

Class UpdatableVTIConstantAction

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat, ConstantAction


    public class UpdatableVTIConstantAction
    extends java.lang.Object
    This class describes compiled constants that are passed into Updatable VTIResultSets.
    See Also:
    Serialized Form
    • 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.
    • Method Detail

      • getTypeFormatId

        public int getTypeFormatId()
        Get the formatID which corresponds to this class.
        Returns:
        the formatID of this class
      • readExternal

        public void readExternal(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Read this object from a stream of stored objects.
        Specified by:
        readExternal in interface java.io.Externalizable
        Parameters:
        in - read this.
        Throws:
        java.io.IOException - thrown on error
        java.lang.ClassNotFoundException - thrown on error
      • writeExternal

        public void writeExternal(java.io.ObjectOutput out)
                           throws java.io.IOException
        Write this object to a stream of stored objects.
        Specified by:
        writeExternal in interface java.io.Externalizable
        Parameters:
        out - write bytes here.
        Throws:
        java.io.IOException - thrown on error
      • underMerge

        public boolean underMerge()
        Return true if this is an action of a MERGE statement
      • getConglomerateId

        public long getConglomerateId()
        Get the conglomerate id for the changed heap.
        Returns:
        the conglomerate id.
      • getTargetProperties

        public java.util.Properties getTargetProperties()
        Get the targetProperties from the constant action.
        Returns:
        The targetProperties
      • getProperty

        public java.lang.String getProperty(java.lang.String key)
        The the value of the specified key, if it exists, from the targetProperties.
        Parameters:
        key - The key to search for
        Returns:
        The value for the specified key if it exists, otherwise null. (Return null if targetProperties is null.)
      • getBaseRowReadMap

        public int[] getBaseRowReadMap()
      • getStreamStorableHeapColIds

        public int[] getStreamStorableHeapColIds()
      • getIndexNameFromCID

        public java.lang.String getIndexNameFromCID(long indexCID)
        get the index name given the conglomerate id of the index.
        Parameters:
        indexCID - conglomerate ID of the index.
        Returns:
        index name of given index.
      • getIndexNames

        public java.lang.String[] getIndexNames()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.