@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="IDBCursor")
public class IDBCursor
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
IDBCursor() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(int count)
The advance() method of the IDBCursor interface sets the number of times a cursor should move its position forward.
|
void |
continue_() |
void |
continue_(java.lang.Object key) |
void |
continuePrimaryKey(java.lang.Object key,
java.lang.Object primaryKey)
The continuePrimaryKey() method of the IDBCursor interface advances the cursor to the to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter.
|
IDBRequest |
delete()
The delete() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position.
|
java.lang.String |
direction()
A string (defined by the IDBCursorDirection enum) indicating the direction in which the cursor is traversing the data.
|
jsinterop.base.Any |
key()
A value of any type.
|
jsinterop.base.Any |
primaryKey()
A value of any data type.
|
IDBRequest |
request()
The request read-only property of the IDBCursor interface returns the IDBRequest used to obtain the cursor.
|
IDBObjectStoreOrIDBIndexUnion |
source()
The IDBObjectStore or IDBIndex that the cursor is iterating over.
|
IDBRequest |
update(java.lang.Object value)
The update() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.
|
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_, values@JsProperty(name="direction") @Nonnull @IDBCursorDirection public java.lang.String direction()
@JsProperty(name="key") @Nullable public jsinterop.base.Any key()
@JsProperty(name="primaryKey") @Nullable public jsinterop.base.Any primaryKey()
@JsProperty(name="request") @Nonnull public IDBRequest request()
@JsProperty(name="source") @Nonnull public IDBObjectStoreOrIDBIndexUnion source()
public void advance(int count)
@JsMethod(name="continue")
public void continue_(@Nullable
java.lang.Object key)
@JsMethod(name="continue") public void continue_()
public void continuePrimaryKey(@Nullable
java.lang.Object key,
@Nullable
java.lang.Object primaryKey)
@Nonnull public IDBRequest delete()
@Nonnull public IDBRequest update(@Nullable java.lang.Object value)