org.cruxframework.crux.core.client.db.indexeddb
Class IDBIndex

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.cruxframework.crux.core.client.db.indexeddb.IDBIndex

public class IDBIndex
extends com.google.gwt.core.client.JavaScriptObject

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class IDBIndex.IDBIndexCursorRequest
           
 
Constructor Summary
protected IDBIndex()
           
 
Method Summary
 IDBObjectCountRequest count()
           
 IDBObjectCountRequest count(IDBKeyRange range)
           
 IDBObjectStore.IDBObjectRetrieveRequest get(Date key)
           
 IDBObjectStore.IDBObjectRetrieveRequest get(double key)
           
 IDBObjectStore.IDBObjectRetrieveRequest get(IDBKeyRange range)
           
 IDBObjectStore.IDBObjectRetrieveRequest get(int key)
           
 IDBObjectStore.IDBObjectRetrieveRequest get(com.google.gwt.core.client.JsArrayMixed key)
           
 IDBObjectStore.IDBObjectRetrieveRequest get(String key)
           
 FastList<String> getCompositeKeyPath()
           
 IDBObjectStore.IDBObjectStoreRequest getKey(Date key)
           
 IDBObjectStore.IDBObjectStoreRequest getKey(double key)
           
 IDBObjectStore.IDBObjectStoreRequest getKey(IDBKeyRange range)
           
 IDBObjectStore.IDBObjectStoreRequest getKey(int key)
           
 IDBObjectStore.IDBObjectStoreRequest getKey(com.google.gwt.core.client.JsArrayMixed key)
           
 IDBObjectStore.IDBObjectStoreRequest getKey(String key)
           
 String getKeyPath()
           
 String getName()
           
 IDBObjectStore getObjectStore()
           
 boolean isMultiEntry()
           
 boolean isUnique()
           
 IDBIndex.IDBIndexCursorRequest openCursor()
           
 IDBIndex.IDBIndexCursorRequest openCursor(IDBKeyRange range)
           
 IDBIndex.IDBIndexCursorRequest openCursor(IDBKeyRange range, IDBCursor.IDBCursorDirection direction)
           
 IDBIndex.IDBIndexCursorRequest openKeyCursor()
           
 IDBIndex.IDBIndexCursorRequest openKeyCursor(IDBKeyRange range)
           
 IDBIndex.IDBIndexCursorRequest openKeyCursor(IDBKeyRange range, IDBCursor.IDBCursorDirection direction)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDBIndex

protected IDBIndex()
Method Detail

getName

public final String getName()

getObjectStore

public final IDBObjectStore getObjectStore()

getKeyPath

public final String getKeyPath()

getCompositeKeyPath

public final FastList<String> getCompositeKeyPath()

isUnique

public final boolean isUnique()

isMultiEntry

public final boolean isMultiEntry()

openCursor

public final IDBIndex.IDBIndexCursorRequest openCursor()

openCursor

public final IDBIndex.IDBIndexCursorRequest openCursor(IDBKeyRange range)

openCursor

public final IDBIndex.IDBIndexCursorRequest openCursor(IDBKeyRange range,
                                                       IDBCursor.IDBCursorDirection direction)

openKeyCursor

public final IDBIndex.IDBIndexCursorRequest openKeyCursor()

openKeyCursor

public final IDBIndex.IDBIndexCursorRequest openKeyCursor(IDBKeyRange range)

openKeyCursor

public final IDBIndex.IDBIndexCursorRequest openKeyCursor(IDBKeyRange range,
                                                          IDBCursor.IDBCursorDirection direction)

count

public final IDBObjectCountRequest count()

count

public final IDBObjectCountRequest count(IDBKeyRange range)

get

public final IDBObjectStore.IDBObjectRetrieveRequest get(IDBKeyRange range)

get

public final IDBObjectStore.IDBObjectRetrieveRequest get(com.google.gwt.core.client.JsArrayMixed key)

get

public final IDBObjectStore.IDBObjectRetrieveRequest get(String key)

get

public final IDBObjectStore.IDBObjectRetrieveRequest get(Date key)

get

public final IDBObjectStore.IDBObjectRetrieveRequest get(double key)

get

public final IDBObjectStore.IDBObjectRetrieveRequest get(int key)

getKey

public final IDBObjectStore.IDBObjectStoreRequest getKey(com.google.gwt.core.client.JsArrayMixed key)

getKey

public final IDBObjectStore.IDBObjectStoreRequest getKey(IDBKeyRange range)

getKey

public final IDBObjectStore.IDBObjectStoreRequest getKey(String key)

getKey

public final IDBObjectStore.IDBObjectStoreRequest getKey(int key)

getKey

public final IDBObjectStore.IDBObjectStoreRequest getKey(Date key)

getKey

public final IDBObjectStore.IDBObjectStoreRequest getKey(double key)


Copyright © 2014. All rights reserved.