org.hsqldb.persist
pack-priv final Class DataFileDefrag
extends Object
- Class Inheritance
-
- Imports
- org.hsqldb.Database, .Session, .Table, .TableBase, org.hsqldb.error.Error, .ErrorCode, org.hsqldb.lib.DoubleIntIndex, .DoubleLongIndex, .HsqlArrayList, .LongLookup, .StopWatch, .StringUtil
Routine to defrag the *.data file.
This method iterates over the primary index of a table to find the
disk position for each row and stores it, together with the new position
in an array.
A second pass over the primary index writes each row to the new disk
image after translating the old pointers to the new.
- Author
- Fred Toussi (fredt@users dot sourceforge.net)
- Since
- 1.7.2
- Version
- 2.7.3
Constructor Summary
| Access | Constructor and Description
|
|---|
| pack-priv |
|