|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.event.BaseTableModificationPublisher
org.axiondb.engine.tables.BaseTable
org.axiondb.engine.tables.MemoryTable
A memory-resident Table.
| Field Summary |
| Fields inherited from interface org.axiondb.Table |
REGULAR_TABLE_TYPE, SYSTEM_TABLE_TYPE |
| Constructor Summary | |
MemoryTable(String name)
|
|
MemoryTable(String name,
String type)
|
|
| Method Summary | |
void |
applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids)
Remove the specified rows from this table and any associated indices. |
void |
applyInserts(Collection rows)
Insert the given rows into this table and any associated indices. |
void |
applyUpdates(Collection 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. |
| Methods inherited from class org.axiondb.event.BaseTableModificationPublisher |
addTableModificationListener, getTableModificationListeners, publishEvent, removeTableModificationListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MemoryTable(String name)
public MemoryTable(String name,
String type)
| Method Detail |
public void populateIndex(Index index)
throws AxionException
TableIndex, adding my current rows to it. Does not
addthe index.
populateIndex in interface TablepopulateIndex in class BaseTableAxionExceptionpublic int getNextRowId()
Table
getNextRowId in interface TablegetNextRowId in class BaseTable
public void truncate()
throws AxionException
Table
truncate in interface TableAxionExceptionpublic void freeRowId(int id)
Table
freeRowId in interface TablefreeRowId in class BaseTablepublic int getRowCount()
TableRows I contain.
getRowCount in interface TablegetRowCount in class BaseTablepublic Row getRow(int id)
getRow in interface RowSourcegetRow in class BaseTable
public void applyInserts(Collection rows)
throws AxionException
Table
applyInserts in interface TableapplyInserts in class BaseTableAxionException
public void applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids)
throws AxionException
Table
applyDeletes in interface TableapplyDeletes in class BaseTableAxionException
public void applyUpdates(Collection rows)
throws AxionException
Table
applyUpdates in interface TableapplyUpdates in class BaseTableAxionException
protected RowIterator getRowIterator()
throws AxionException
getRowIterator in class BaseTableAxionException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||