org.axiondb.engine.tables
Class DiskTable
java.lang.Object
org.axiondb.event.BaseTableModificationPublisher
org.axiondb.engine.tables.BaseTable
org.axiondb.engine.tables.BaseDiskTable
org.axiondb.engine.tables.DiskTable
- All Implemented Interfaces:
- RowSource, Table
public final class DiskTable
- extends BaseDiskTable
- implements Table
A disk-resident Table
.
- Version:
- $Revision: 1.8 $ $Date: 2004/09/09 23:47:44 $
Methods inherited from class org.axiondb.engine.tables.BaseDiskTable |
addColumn, addColumn, addConstraint, appendLongFile, appendLongFile, applyDeletes, applyInserts, applyUpdates, clearDataFileReference, clearMetaFileReference, closeFiles, createOrLoadDataFile, createOrLoadFreeIdsFile, createOrLoadMetaFile, createOrLoadPidxFile, deleteFile, drop, freeRowId, getCanonicalPath, getDefaultDataFileExtension, getMetaFile, getNextRowId, getReadFile, getRootDir, getRow, getRowCount, getTableFile, getWriteFile, initializeRowCount, openFile, parseIntFile, parseMetaFile, parseTableProperties, populateIndex, remount, removeIndex, rename, renameFile, saveIndices, saveIndicesAfterTruncate, setPidx, shutdown, truncate, tryToRemove, updateLongFile, writeFridFile, writeIntFile, writeLongFile, writeMetaFile, writeNameToFile, writePidxFile, writeTableProperties |
Methods inherited from class org.axiondb.engine.tables.BaseTable |
addIndex, addRow, applyDeletesToIndices, applyInsertsToIndices, applyUpdatesToIndices, checkConstraints, checkConstraints, deleteRow, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraints, getIndexedRows, getIndexForColumn, getIndices, getMatchingRows, getName, getRowIterator, getType, hasColumn, hasDeferredConstraint, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, notifyColumnsOfNewLobDir, readColumns, readConstraints, removeConstraint, setName, setType, toString, truncateIndices, updateRow, writeColumns, writeConstraints |
Methods inherited from interface org.axiondb.Table |
addColumn, addConstraint, addIndex, addRow, addTableModificationListener, applyDeletes, applyInserts, applyUpdates, drop, freeRowId, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraints, getIndexedRows, getIndexForColumn, getIndices, getMatchingRows, getName, getNextRowId, getRowCount, getRowIterator, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, populateIndex, remount, removeConstraint, removeIndex, removeTableModificationListener, rename, shutdown, truncate, updateRow |
DiskTable
public DiskTable(String name,
Database db)
throws AxionException
- Throws:
AxionException
glomLobs
public void glomLobs()
throws Exception
- Throws:
Exception
applyInserts
protected void applyInserts(Iterator rows)
throws AxionException
- Specified by:
applyInserts
in class BaseDiskTable
- Throws:
AxionException
applyUpdates
protected void applyUpdates(Iterator rows)
throws AxionException
- Specified by:
applyUpdates
in class BaseDiskTable
- Throws:
AxionException
getDataFile
protected File getDataFile()
- Specified by:
getDataFile
in class BaseDiskTable
renameTableFiles
protected void renameTableFiles(String oldName,
String name)
- Overrides:
renameTableFiles
in class BaseDiskTable
getLobDir
protected File getLobDir()
- Specified by:
getLobDir
in class BaseDiskTable
getRowByOffset
protected Row getRowByOffset(int idToAssign,
long ptr)
throws AxionException
- Specified by:
getRowByOffset
in class BaseDiskTable
- Throws:
AxionException
getRowIterator
protected RowIterator getRowIterator()
throws AxionException
- Specified by:
getRowIterator
in class BaseTable
- Throws:
AxionException
initFiles
protected void initFiles(File basedir,
boolean datafilesonly)
throws AxionException
- Overrides:
initFiles
in class BaseDiskTable
- Throws:
AxionException
reloadDataFile
protected void reloadDataFile()
throws AxionException
- Specified by:
reloadDataFile
in class BaseDiskTable
- Throws:
AxionException