REGULAR_TABLE_TYPE, SYSTEM_TABLE_TYPE| Constructor and Description |
|---|
MemoryTable(java.lang.String name) |
MemoryTable(java.lang.String name,
java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids)
Remove the specified rows from this table and any associated indices.
|
void |
applyInserts(RowCollection rows)
Insert the given rows into this table and any associated indices.
|
void |
applyUpdates(RowCollection rows)
Update the given rows in this table and any associated indices.
|
void |
freeRowId(int id)
Un-reserve a row id.
|
int |
getNextRowId()
Reserve a row id.
|
Row |
getRow(int id) |
int |
getRowCount()
Return the number of
Rows I contain. |
protected RowIterator |
getRowIterator() |
void |
populateIndex(Index index)
Populate an
Index, adding my current rows to it. |
void |
truncate()
Unconditionally delete all rows in this table.
|
addColumn, addConstraint, addIndex, addRow, applyDeletesToIndices, applyInsertsToIndices, applyUpdatesToIndices, checkpoint, clearCache, deleteRow, drop, 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, remount, removeConstraint, removeIndex, rename, setName, setSequence, setType, shutdown, toString, truncateIndices, updateRow, writeColumns, writeConstraintscheckConstraints, checkConstraints, checkConstraints, getMatchingRows, hasDeferredConstraint, isDeferAll, migrateaddTableModificationListener, getTableModificationListeners, publishEvent, removeTableModificationListener, setDeferAllConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddColumn, addConstraint, addIndex, addRow, addTableModificationListener, checkpoint, deleteRow, drop, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraint, getConstraints, getIndexedRows, getIndexedRows, getIndexForColumn, getIndices, getMatchingRows, getName, getRowIterator, getSequence, getTableModificationListeners, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, migrate, remount, removeConstraint, removeIndex, removeTableModificationListener, rename, setDeferAllConstraints, setSequence, shutdown, updateRowpublic MemoryTable(java.lang.String name)
public MemoryTable(java.lang.String name,
java.lang.String type)
public void applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids)
throws AxionException
TableapplyDeletes in interface TableapplyDeletes in class BaseTableAxionExceptionpublic void applyInserts(RowCollection rows) throws AxionException
TableapplyInserts in interface TableapplyInserts in class BaseTablerows - a collection of RowsAxionExceptionpublic void applyUpdates(RowCollection rows) throws AxionException
TableapplyUpdates in interface TableapplyUpdates in class BaseTableAxionExceptionpublic final void freeRowId(int id)
Tablepublic final int getNextRowId()
TablegetNextRowId in interface TablegetNextRowId in class BaseTablepublic final Row getRow(int id)
public final int getRowCount()
TableRows I contain.getRowCount in interface TablegetRowCount in class BaseTablepublic void populateIndex(Index index) throws AxionException
TablepopulateIndex in interface TablepopulateIndex in class BaseTableAxionExceptionTable.addIndex(org.axiondb.Index)public void truncate()
throws AxionException
Tabletruncate in interface TableAxionExceptionprotected RowIterator getRowIterator() throws AxionException
getRowIterator in class BaseTableAxionException