| Package | Description |
|---|---|
| org.cruxframework.crux.core.client.db |
Contains classes to support a database on client browser.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IDXKeyRange<K>
CRUX INTERNAL CLASS.
|
class |
WSQLKeyRange<K>
Specify a range of Keys.
|
| Modifier and Type | Method and Description |
|---|---|
KeyRange<K> |
KeyRangeFactory.bound(K startKey,
K endKey)
Create a KeyRange including all keys between upper and lower bound keys
|
KeyRange<K> |
KeyRangeFactory.bound(K startKey,
K endKey,
boolean startOpen,
boolean endOpen)
Create a KeyRange including all keys between upper and lower bound keys
|
KeyRange<K> |
KeyRangeFactory.lowerBound(K key)
Create a KeyRange including all keys greater than the given key
|
KeyRange<K> |
KeyRangeFactory.lowerBound(K key,
boolean open)
Create a KeyRange including all keys greater than the given key
|
KeyRange<K> |
KeyRangeFactory.only(K key)
Create a KeyRange including only the given Key
|
KeyRange<K> |
KeyRangeFactory.upperBound(K key)
Create a KeyRange including all keys smaller than the given key
|
KeyRange<K> |
KeyRangeFactory.upperBound(K key,
boolean open)
Create a KeyRange including all keys smaller than the given key
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
WSQLCursor.addKeyRangeToQuery(KeyRange<K> range,
StringBuilder sql,
com.google.gwt.core.client.JsArrayMixed args) |
protected abstract void |
WSQLAbstractObjectStore.addKeyRangeToQuery(KeyRange<K> range,
StringBuilder sql,
com.google.gwt.core.client.JsArrayMixed args) |
void |
WSQLIndex.count(KeyRange<I> range,
DatabaseCountCallback callback)
Return the number of items referenced by the index in the given range.
|
abstract void |
Index.count(KeyRange<I> range,
DatabaseCountCallback callback)
Return the number of items referenced by the index in the given range.
|
void |
IDXIndex.count(KeyRange<I> range,
DatabaseCountCallback callback)
Return the number of items referenced by the index in the given range.
|
void |
WSQLAbstractObjectStore.count(KeyRange<K> range,
DatabaseCountCallback callback) |
void |
ObjectStore.count(KeyRange<K> range,
DatabaseCountCallback callback)
Return the number of items stored into this object store in the given range.
|
void |
IDXAbstractObjectStore.count(KeyRange<K> range,
DatabaseCountCallback callback) |
void |
IDXFileStore.count(KeyRange<String> range,
DatabaseCountCallback callback) |
void |
FileStore.count(KeyRange<String> keyRange,
DatabaseCountCallback callback)
Check the number of files on the fileStore
|
void |
ObjectStore.delete(KeyRange<K> keyRange)
Remove all the objects in the given range from the store.
|
void |
AbstractObjectStore.delete(KeyRange<K> keyRange) |
void |
WSQLAbstractObjectStore.delete(KeyRange<K> range,
DatabaseDeleteCallback callback) |
void |
ObjectStore.delete(KeyRange<K> keyRange,
DatabaseDeleteCallback callback)
Remove all the objects in the given range from the store.
|
<K> void |
Database.delete(KeyRange<K> keyRange,
String objectStore,
DatabaseCallback callback)
Remove all objects in the given range from its associated objectStore.
|
<K> void |
AbstractDatabase.delete(KeyRange<K> keys,
String objectStoreName,
DatabaseCallback callback) |
void |
IDXFileStore.delete(KeyRange<String> keyRange) |
void |
FileStore.delete(KeyRange<String> keyRange)
Remove a range of files from the database
|
void |
IDXFileStore.delete(KeyRange<String> keyRange,
DatabaseDeleteCallback callback) |
void |
FileStore.delete(KeyRange<String> keyRange,
DatabaseDeleteCallback callback)
Remove a range of files from the database
|
void |
WSQLIndex.get(KeyRange<I> keyRange,
DatabaseRetrieveCallback<V> callback)
Retrieve the object in the given keyRange from the index.
|
abstract void |
Index.get(KeyRange<I> keyRange,
DatabaseRetrieveCallback<V> callback)
Retrieve the object in the given keyRange from the index.
|
abstract void |
IDXIndex.get(KeyRange<I> keyRange,
DatabaseRetrieveCallback<V> callback)
Retrieve the object in the given keyRange from the index.
|
void |
WSQLIndex.getKey(KeyRange<I> keyRange,
DatabaseRetrieveCallback<K> callback)
Retrieve the object key in the given keyRange from the index.
|
abstract void |
Index.getKey(KeyRange<I> keyRange,
DatabaseRetrieveCallback<K> callback)
Retrieve the object key in the given keyRange from the index.
|
abstract void |
IDXIndex.getKey(KeyRange<I> keyRange,
DatabaseRetrieveCallback<K> callback)
Retrieve the object key in the given keyRange from the index.
|
static com.google.gwt.core.client.JavaScriptObject |
WSQLKeyRange.getNativeKeyRange(KeyRange<?> range) |
static IDBKeyRange |
IDXKeyRange.getNativeKeyRange(KeyRange<?> range) |
abstract void |
WSQLIndex.openCursor(KeyRange<I> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<I,V> callback)
Open a cursor to iterate over the object store.
|
abstract void |
Index.openCursor(KeyRange<I> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<I,V> callback)
Open a cursor to iterate over the object store.
|
abstract void |
IDXIndex.openCursor(KeyRange<I> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<I,V> callback)
Open a cursor to iterate over the object store.
|
void |
WSQLIndex.openCursor(KeyRange<I> keyRange,
DatabaseCursorCallback<I,V> callback)
Open a cursor to iterate over the object store.
|
abstract void |
Index.openCursor(KeyRange<I> keyRange,
DatabaseCursorCallback<I,V> callback)
Open a cursor to iterate over the object store.
|
abstract void |
IDXIndex.openCursor(KeyRange<I> keyRange,
DatabaseCursorCallback<I,V> callback)
Open a cursor to iterate over the object store.
|
void |
ObjectStore.openCursor(KeyRange<K> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<K,V> callback)
Open a cursor to iterate over the object store.
|
void |
WSQLAbstractObjectStore.openCursor(KeyRange<K> keyRange,
DatabaseCursorCallback<K,V> callback) |
void |
ObjectStore.openCursor(KeyRange<K> keyRange,
DatabaseCursorCallback<K,V> callback)
Open a cursor to iterate over the object store.
|
void |
IDXFileStore.openCursor(KeyRange<String> keyRange,
Cursor.CursorDirection direction,
FileStoreCursorCallback callback) |
void |
FileStore.openCursor(KeyRange<String> keyRange,
Cursor.CursorDirection direction,
FileStoreCursorCallback callback)
Open a
FileCursor object, to allow iteration over the files on this store. |
void |
IDXFileStore.openCursor(KeyRange<String> keyRange,
FileStoreCursorCallback callback) |
void |
FileStore.openCursor(KeyRange<String> keyRange,
FileStoreCursorCallback callback)
Open a
FileCursor object, to allow iteration over the files on this store. |
abstract void |
WSQLIndex.openKeyCursor(KeyRange<I> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<I,K> callback)
Open a cursor to iterate over the object store.
|
abstract void |
Index.openKeyCursor(KeyRange<I> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<I,K> callback)
Open a cursor to iterate over the objects keys into the store.
|
abstract void |
IDXIndex.openKeyCursor(KeyRange<I> keyRange,
Cursor.CursorDirection direction,
DatabaseCursorCallback<I,K> callback)
Open a cursor to iterate over the object store.
|
void |
WSQLIndex.openKeyCursor(KeyRange<I> keyRange,
DatabaseCursorCallback<I,K> callback)
Open a cursor to iterate over the object store.
|
abstract void |
Index.openKeyCursor(KeyRange<I> keyRange,
DatabaseCursorCallback<I,K> callback)
Open a cursor to iterate over the objects keys into the store.
|
abstract void |
IDXIndex.openKeyCursor(KeyRange<I> keyRange,
DatabaseCursorCallback<I,K> callback)
Open a cursor to iterate over the object store.
|
Copyright © 2015. All rights reserved.