Documentation of 'org.hsqldb.RowDiskDataChange' Java class
RowDiskDataChange
org.hsqldb

Class RowDiskDataChange

    • Constructor Detail

      • RowDiskDataChange

        public RowDiskDataChange(TableBase t,
                                 java.lang.Object[] data,
                                 PersistentStore store,
                                 Table targetTable)
        Constructor for new Rows. Variable hasDataChanged is set to true in order to indicate the data needs saving.
        Parameters:
        t - table
        o - row data
      • RowDiskDataChange

        public RowDiskDataChange(Session session,
                                 TableBase t,
                                 RowInputInterface in)
                          throws java.io.IOException
        Constructor when read from the disk into the Cache.
        Parameters:
        t - table
        in - data source
        Throws:
        java.io.IOException
    • Method Detail

      • write

        public void write(RowOutputInterface out)
        Description copied from class: RowAVLDisk
        Used exclusively by Cache to save the row to disk. New implementation in 1.7.2 writes out only the Node data if the table row data has not changed. This situation accounts for the majority of invocations as for each row deleted or inserted, the Nodes for several other rows will change.
        Specified by:
        write in interface CachedObject
        Overrides:
        write in class RowAVLDisk
      • getUpdateData

        public java.lang.Object[] getUpdateData()
      • getUpdateColumnMap

        public int[] getUpdateColumnMap()
      • setTargetTable

        public void setTargetTable(Table table)
      • setUpdateData

        public void setUpdateData(java.lang.Object[] data)
      • setUpdateColumnMap

        public void setUpdateColumnMap(int[] colMap)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.