|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.cache.RowKeyTableCache | +--planetj.dataengine.cache.KeyedRowCache
A cache which holds rows based on their keys. Rows without keys cannot be added to this cache. If two rows have from different tables have the same key, this cache will not confuse the two rows.
Constructor Summary | |
KeyedRowCache()
KeyedRowCache constructor |
Method Summary | |
boolean |
add(Row row)
Adds a Row to the cache, but only if it has a key. |
Row |
get(RowKey key)
Gets a keyed row out of the cache |
boolean |
isContains(Row row)
Tests if a row is present in the cache |
Methods inherited from class planetj.dataengine.cache.RowKeyTableCache |
add, get, getAll, getAll |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyedRowCache()
Method Detail |
public boolean add(Row row) throws CMException
CMException
public Row get(RowKey key)
public boolean isContains(Row row) throws CMException
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |