org.axiondb.engine.tables
Class DiskTable
java.lang.Object
org.axiondb.event.BaseTableModificationPublisher
org.axiondb.engine.tables.AbstractBaseTable
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.19 $ $Date: 2005/12/20 18:32:28 $
Fields inherited from class org.axiondb.engine.tables.BaseDiskTable |
_dataFile, _dbdir, _freeIds, _readOnly, _rowCount, CURRENT_META_VERSION, FRID_FILE_EXT, FS, INDICES_DIR_NAME, INVALID_OFFSET, META_FILE_EXT, PIDX_FILE_EXT, SEQ_FILE_EXT, TYPE_FILE_EXT |
Methods inherited from class org.axiondb.engine.tables.BaseDiskTable |
addColumn, addColumn, addConstraint, applyDeletes, applyInserts, applyUpdates, checkpoint, clearDataFileReference, closeFiles, createOrLoadDataFile, createOrLoadFreeIdsFile, drop, freeRowId, getDefaultDataFileExtension, getInputStream, getNextRowId, getOutputStream, getPidxList, getRootDir, getRow, getRowCount, getRowIterator, getTableFile, initializeRowCount, isReadOnly, loadOrMigrateMetaFile, migrate, parsePidxFile, parseTableProperties, populateIndex, remount, removeIndex, rename, resetLobColumns, saveIndicesAfterTruncate, setSequence, shutdown, truncate, tryToRemove, writeFridFile, writeMetaFile, writeNameToFile, writeTableProperties |
Methods inherited from class org.axiondb.engine.tables.BaseTable |
addIndex, addRow, applyDeletesToIndices, applyInsertsToIndices, applyUpdatesToIndices, clearCache, deleteRow, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraint, getConstraints, getIndexedRows, getIndexedRows, getIndexForColumn, getIndices, getName, getRowIterator, getSequence, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, notifyColumnsOfNewLobDir, readColumns, readConstraints, recreateIndices, removeConstraint, setName, setType, toString, truncateIndices, updateRow, writeColumns, writeConstraints |
Methods inherited from interface org.axiondb.Table |
addColumn, addConstraint, addIndex, addRow, addTableModificationListener, applyDeletes, applyInserts, applyUpdates, checkpoint, deleteRow, drop, freeRowId, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraint, getConstraints, getIndexedRows, getIndexedRows, getIndexForColumn, getIndices, getMatchingRows, getName, getNextRowId, getRowCount, getRowIterator, getSequence, getTableModificationListeners, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, migrate, populateIndex, remount, removeConstraint, removeIndex, removeTableModificationListener, rename, setDeferAllConstraints, setSequence, shutdown, truncate, updateRow |
DiskTable
public DiskTable(String name,
Database db)
throws AxionException
- Throws:
AxionException
getGlomLobsHelper
public GlomLobsHelper getGlomLobsHelper()
glomLobs
public void glomLobs()
throws Exception
- Deprecated. use GlomLobsHelper instead
- Throws:
Exception
getDataFile
protected File getDataFile()
- Specified by:
getDataFile
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
initFiles
protected void initFiles(File basedir,
boolean datafilesonly)
throws AxionException
- Overrides:
initFiles
in class BaseDiskTable
- Throws:
AxionException
reloadFilesAfterTruncate
protected void reloadFilesAfterTruncate()
throws AxionException
- Specified by:
reloadFilesAfterTruncate
in class BaseDiskTable
- Throws:
AxionException
renameTableFiles
protected void renameTableFiles(String oldName,
String name)
- Overrides:
renameTableFiles
in class BaseDiskTable
writeRow
protected void writeRow(BufferedDataOutputStream out,
Row row)
throws AxionException
- Specified by:
writeRow
in class BaseDiskTable
- Throws:
AxionException