@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="IDBIndex")
public class IDBIndex
extends JsObject
implements IDBRequestSource, IDBCursorSource
| Modifier and Type | Field and Description |
|---|---|
@JsNonNull java.lang.String |
name
A DOMString specifying a name for the index.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IDBIndex() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull IDBRequest |
count()
A IDBRequest object on which subsequent events related to this operation are fired.
|
@JsNonNull IDBRequest |
count(java.lang.Object query)
A IDBRequest object on which subsequent events related to this operation are fired.
|
@JsNonNull IDBRequest |
get(java.lang.Object query)
If a value is found, then a structured clone of it is created and set as the result of the request object: this returns the record the key is associated with.
|
@JsNonNull IDBRequest |
getAll()
There is a performance cost associated with looking at the value property of a cursor, because the object is created lazily.
|
@JsNonNull IDBRequest |
getAll(java.lang.Object query)
There is a performance cost associated with looking at the value property of a cursor, because the object is created lazily.
|
@JsNonNull IDBRequest |
getAll(java.lang.Object query,
int count)
There is a performance cost associated with looking at the value property of a cursor, because the object is created lazily.
|
@JsNonNull IDBRequest |
getAllKeys()
An IDBRequest object on which subsequent events related to this operation are fired.
|
@JsNonNull IDBRequest |
getAllKeys(java.lang.Object query)
An IDBRequest object on which subsequent events related to this operation are fired.
|
@JsNonNull IDBRequest |
getAllKeys(java.lang.Object query,
int count)
An IDBRequest object on which subsequent events related to this operation are fired.
|
@JsNonNull IDBRequest |
getKey(java.lang.Object query)
If a primary key is found, it is set as the result of the request object.
|
jsinterop.base.Any |
keyPath()
Any data type that can be used as a key path.
|
boolean |
multiEntry()
A Boolean:
|
IDBObjectStore |
objectStore()
An IDBObjectStore.
|
@JsNonNull IDBRequest |
openCursor()
The method sets the position of the cursor to the appropriate record, based on the specified direction.
|
@JsNonNull IDBRequest |
openCursor(java.lang.Object query)
The method sets the position of the cursor to the appropriate record, based on the specified direction.
|
@JsNonNull IDBRequest |
openCursor(java.lang.Object query,
java.lang.String direction)
The method sets the position of the cursor to the appropriate record, based on the specified direction.
|
@JsNonNull IDBRequest |
openKeyCursor()
The method sets the position of the cursor to the appropriate key, based on the specified direction.
|
@JsNonNull IDBRequest |
openKeyCursor(java.lang.Object query)
The method sets the position of the cursor to the appropriate key, based on the specified direction.
|
@JsNonNull IDBRequest |
openKeyCursor(java.lang.Object query,
java.lang.String direction)
The method sets the position of the cursor to the appropriate key, based on the specified direction.
|
boolean |
unique()
A Boolean:
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic @JsNonNull java.lang.String name
@JsProperty(name="keyPath") @Nullable public jsinterop.base.Any keyPath()
@JsProperty(name="multiEntry") public boolean multiEntry()
@JsProperty(name="objectStore") @Nonnull public IDBObjectStore objectStore()
@JsProperty(name="unique") public boolean unique()
public @JsNonNull IDBRequest count(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest count()
public @JsNonNull IDBRequest get(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest getAll(@Nullable java.lang.Object query, int count)
public @JsNonNull IDBRequest getAll(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest getAll()
public @JsNonNull IDBRequest getAllKeys(@Nullable java.lang.Object query, int count)
public @JsNonNull IDBRequest getAllKeys(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest getAllKeys()
public @JsNonNull IDBRequest getKey(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest openCursor(@Nullable java.lang.Object query, @IDBCursorDirection @Nonnull java.lang.String direction)
public @JsNonNull IDBRequest openCursor(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest openCursor()
public @JsNonNull IDBRequest openKeyCursor(@Nullable java.lang.Object query, @IDBCursorDirection @Nonnull java.lang.String direction)
public @JsNonNull IDBRequest openKeyCursor(@Nullable java.lang.Object query)
public @JsNonNull IDBRequest openKeyCursor()