//tempest2/app.cash.tempest2/Scannable/scanAll
scanAll¶
[jvm]\ abstract fun scanAll(pageSize: Int = 100, consistentRead: Boolean = false, filterExpression: Expression? = null, initialOffset: Offset<K>? = null): Sequence<Page<K, I>>
Executes a scan and returns a sequence of pages that contains all results, regardless of page size. New pages will be fetched as needed when the resulting sequence is enumerated.
[jvm]\ open fun scanAll(): Sequence<Page<K, I>>
open fun scanAll(initialOffset: Offset<K>?): Sequence<Page<K, I>>
[jvm]\ open fun scanAll(config: ScanConfig): Sequence<Page<K, I>>
open fun scanAll(config: ScanConfig, initialOffset: Offset<K>?): Sequence<Page<K, I>>
Executes a scan and returns a sequence of pages that contains all results, regardless of page size. New pages will be fetched as needed when the resulting sequence is enumerated.
This method doesn’t support parallel scans. workerId
, if provided as part of config
, will be ignored.