org.cruxframework.crux.core.client.db
Class IDXAbstractObjectStore<K,V>
java.lang.Object
org.cruxframework.crux.core.client.db.DBObject
org.cruxframework.crux.core.client.db.AbstractObjectStore<K,V>
org.cruxframework.crux.core.client.db.IDXAbstractObjectStore<K,V>
- All Implemented Interfaces:
- ObjectStore<K,V>
public abstract class IDXAbstractObjectStore<K,V>
- extends AbstractObjectStore<K,V>
CRUX INTERNAL CLASS. DO NOT USE IT DIRECTLY.
Indexed DB implementation for ObjectStore Interface. Use the interface ObjectStore instead.
- Author:
- Thiago da Rosa de Bustamante
| Fields inherited from class org.cruxframework.crux.core.client.db.DBObject |
logger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.cruxframework.crux.core.client.db.ObjectStore |
add, delete, delete, get, getIndex, getKeyRangeFactory, getObjectStoreName, openCursor, openCursor, openCursor, put |
idbObjectStore
protected final IDBObjectStore idbObjectStore
db
protected final IDXAbstractDatabase db
IDXAbstractObjectStore
protected IDXAbstractObjectStore(IDXAbstractDatabase db,
IDBObjectStore idbObjectStore)
getIndexNames
public String[] getIndexNames()
- Description copied from interface:
ObjectStore
- Return the names of the indexes associated with this object store.
- Returns:
isAutoIncrement
public boolean isAutoIncrement()
- Description copied from interface:
ObjectStore
- Return true if this object store auto increments its keys.
- Returns:
clear
public void clear(DatabaseCallback callback)
- Description copied from interface:
ObjectStore
- Clear this object store
count
public void count(DatabaseCountCallback callback)
- Description copied from interface:
ObjectStore
- Return the number of items stored into this object store.
count
public void count(KeyRange<K> range,
DatabaseCountCallback callback)
- Description copied from interface:
ObjectStore
- Return the number of items stored into this object store in the given range.
Copyright © 2014. All rights reserved.