public final class DiskTable extends BaseDiskTable implements Table
Table
._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
REGULAR_TABLE_TYPE, SYSTEM_TABLE_TYPE
Constructor and Description |
---|
DiskTable(java.lang.String name,
Database db) |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
getDataFile() |
GlomLobsHelper |
getGlomLobsHelper() |
protected java.io.File |
getLobDir() |
protected Row |
getRowByOffset(int idToAssign,
long ptr) |
void |
glomLobs()
Deprecated.
use GlomLobsHelper instead
|
protected void |
initFiles(java.io.File basedir,
boolean datafilesonly) |
protected void |
reloadFilesAfterTruncate() |
protected void |
renameTableFiles(java.lang.String oldName,
java.lang.String name) |
protected void |
writeRow(BufferedDataOutputStream out,
Row row) |
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
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
checkConstraints, checkConstraints, checkConstraints, getMatchingRows, hasDeferredConstraint, isDeferAll, migrate
addTableModificationListener, getTableModificationListeners, publishEvent, removeTableModificationListener, setDeferAllConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public DiskTable(java.lang.String name, Database db) throws AxionException
AxionException
public GlomLobsHelper getGlomLobsHelper()
public void glomLobs() throws java.lang.Exception
java.lang.Exception
protected java.io.File getDataFile()
getDataFile
in class BaseDiskTable
protected java.io.File getLobDir()
getLobDir
in class BaseDiskTable
protected Row getRowByOffset(int idToAssign, long ptr) throws AxionException
getRowByOffset
in class BaseDiskTable
AxionException
protected void initFiles(java.io.File basedir, boolean datafilesonly) throws AxionException
initFiles
in class BaseDiskTable
AxionException
protected void reloadFilesAfterTruncate() throws AxionException
reloadFilesAfterTruncate
in class BaseDiskTable
AxionException
protected void renameTableFiles(java.lang.String oldName, java.lang.String name)
renameTableFiles
in class BaseDiskTable
protected void writeRow(BufferedDataOutputStream out, Row row) throws AxionException
writeRow
in class BaseDiskTable
AxionException