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
Row s 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, 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, 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, updateRow
public 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
Table
applyDeletes
in interface Table
applyDeletes
in class BaseTable
AxionException
public void applyInserts(RowCollection rows) throws AxionException
Table
applyInserts
in interface Table
applyInserts
in class BaseTable
rows
- a collection of RowsAxionException
public void applyUpdates(RowCollection rows) throws AxionException
Table
applyUpdates
in interface Table
applyUpdates
in class BaseTable
AxionException
public final void freeRowId(int id)
Table
public final int getNextRowId()
Table
getNextRowId
in interface Table
getNextRowId
in class BaseTable
public final Row getRow(int id)
public final int getRowCount()
Table
Row
s I contain.getRowCount
in interface Table
getRowCount
in class BaseTable
public void populateIndex(Index index) throws AxionException
Table
populateIndex
in interface Table
populateIndex
in class BaseTable
AxionException
Table.addIndex(org.axiondb.Index)
public void truncate() throws AxionException
Table
truncate
in interface Table
AxionException
protected RowIterator getRowIterator() throws AxionException
getRowIterator
in class BaseTable
AxionException