queryItems

Retrieve all items from the SyncListJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncListJava.


Retrieve items from the SyncListJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncListJava.

Parameters

startIndex

Index of the first item to retrieve.


open fun queryItems(startIndex: Long, includeStartIndex: Boolean): SyncIteratorJava<SyncListJava.Item>

Retrieve items from the SyncListJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncListJava.

Parameters

startIndex

Index of the first item to retrieve.

includeStartIndex

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


open fun queryItems(startIndex: Long?, includeStartIndex: Boolean, queryOrder: <Error class: unknown class>): SyncIteratorJava<SyncListJava.Item>

Retrieve items from the SyncListJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncListJava.

Parameters

startIndex

Index of the first item to retrieve, null means start from the first item in the SyncListJava.

includeStartIndex

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

queryOrder

QueryOrder for sorting results.


open fun queryItems(startIndex: Long?, includeStartIndex: Boolean, queryOrder: <Error class: unknown class>, pageSize: Int): SyncIteratorJava<SyncListJava.Item>

Retrieve items from the SyncListJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncListJava.

Parameters

startIndex

Index of the first item to retrieve, null means start from the first item in the SyncListJava.

includeStartIndex

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

queryOrder

QueryOrder for sorting results.

pageSize

Page size for querying items from backend.


abstract fun queryItems(startIndex: Long?, includeStartIndex: Boolean, queryOrder: <Error class: unknown class>, pageSize: Int, useCache: Boolean): SyncIteratorJava<SyncListJava.Item>

Retrieve items from the SyncListJava.

Return

New SyncIteratorJava to sequentially access the elements from this SyncListJava.

Parameters

startIndex

Index of the first item to retrieve, null means start from the first item in the SyncListJava.

includeStartIndex

When true - result includes the item with the startIndex. When false - the item with the startIndex is skipped. Ignored when startIndex = 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.