public abstract class AbstractObjectStore<K,V> extends DBObject implements ObjectStore<K,V>
Base class for object stores on Crux Database. Use the interface ObjectStore to access your stores.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractObjectStore(AbstractDatabase db) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(V object)
Insert the given object into the store.
|
void |
delete(K key)
Remove the object associated with the given key from the store.
|
void |
delete(KeyRange<K> keyRange)
Remove all the objects in the given range from the store.
|
void |
put(V object)
Update the given object into the storage.
|
reportErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, clear, count, count, delete, delete, get, getIndex, getIndexNames, getKeyRangeFactory, getObjectStoreName, isAutoIncrement, openCursor, openCursor, openCursor, putprotected AbstractObjectStore(AbstractDatabase db)
public void put(V object)
ObjectStoreput in interface ObjectStore<K,V>public void add(V object)
ObjectStoreadd in interface ObjectStore<K,V>public void delete(K key)
ObjectStoredelete in interface ObjectStore<K,V>public void delete(KeyRange<K> keyRange)
ObjectStoredelete in interface ObjectStore<K,V>Copyright © 2015. All rights reserved.