public abstract class IDXAbstractObjectStore<K,V> extends AbstractObjectStore<K,V>
ObjectStore instead.| Modifier and Type | Field and Description |
|---|---|
protected IDXAbstractDatabase |
db |
protected IDBObjectStore |
idbObjectStore |
| Modifier | Constructor and Description |
|---|---|
protected |
IDXAbstractObjectStore(IDXAbstractDatabase db,
IDBObjectStore idbObjectStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(DatabaseCallback callback)
Clear this object store
|
void |
count(DatabaseCountCallback callback)
Return the number of items stored into this object store.
|
void |
count(KeyRange<K> range,
DatabaseCountCallback callback)
Return the number of items stored into this object store in the given range.
|
String[] |
getIndexNames()
Return the names of the indexes associated with this object store.
|
boolean |
isAutoIncrement()
Return true if this object store auto increments its keys.
|
add, delete, delete, putreportErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, delete, delete, get, getIndex, getKeyRangeFactory, getObjectStoreName, openCursor, openCursor, openCursor, putprotected final IDBObjectStore idbObjectStore
protected final IDXAbstractDatabase db
protected IDXAbstractObjectStore(IDXAbstractDatabase db, IDBObjectStore idbObjectStore)
public String[] getIndexNames()
ObjectStorepublic boolean isAutoIncrement()
ObjectStorepublic void clear(DatabaseCallback callback)
ObjectStorepublic void count(DatabaseCountCallback callback)
ObjectStorepublic void count(KeyRange<K> range, DatabaseCountCallback callback)
ObjectStoreCopyright © 2015. All rights reserved.