queryItems

Retrieve all items from the SyncMap.

Return

New SyncIteratorJava to sequentially access the elements from this SyncMapJava.


Retrieve items from the SyncMapJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncMapJava.

Parameters

startKey

Key of the first item to retrieve.


open fun queryItems(startKey: String, includeStartKey: Boolean): SyncIteratorJava<SyncMapJava.Item>

Retrieve items from the SyncMapJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncMapJava.

Parameters

startKey

Key of the first item to retrieve.

includeStartKey

When true - result includes the item with the startKey When false - the item with the startKey is skipped.


open fun queryItems(startKey: String?, includeStartKey: Boolean, queryOrder: <Error class: unknown class>): SyncIteratorJava<SyncMapJava.Item>

Retrieve items from the SyncMapJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncMapJava.

Parameters

startKey

Key of the first item to retrieve, null means start from the first item in the SyncMapJava.

includeStartKey

When true - result includes the item with the startKey. When false - the item with the startKey is skipped. Ignored when startKey = null

queryOrder

QueryOrder for sorting results.


open fun queryItems(startKey: String?, includeStartKey: Boolean, queryOrder: <Error class: unknown class>, pageSize: Int): SyncIteratorJava<SyncMapJava.Item>

Retrieve items from the SyncMapJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncMapJava.

Parameters

startKey

Key of the first item to retrieve, null means start from the first item in the SyncMapJava.

includeStartKey

When true - result includes the item with the startKey. When false - the item with the startKey is skipped. Ignored when startKey = null

queryOrder

QueryOrder for sorting results.

pageSize

Page size for querying items from backend.


abstract fun queryItems(startKey: String?, includeStartKey: Boolean, queryOrder: <Error class: unknown class>, pageSize: Int, useCache: Boolean): SyncIteratorJava<SyncMapJava.Item>

Retrieve items from the SyncMapJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncMapJava.

Parameters

startKey

Key of the first item to retrieve, null means start from the first item in the SyncMapJava.

includeStartKey

When true - result includes the item with the startKey. When false - the item with the startKey is skipped. Ignored when startKey = null

queryOrder

QueryOrder for sorting results.

pageSize

Page size for querying items from backend.

useCache

When true returns cached value if found in cache. When false - performs network request to get latest data from backend.