Skip to content

//tempest2/app.cash.tempest2/AsyncScannable

AsyncScannable

interface AsyncScannable<K : Any, I : Any>

Inheritors

AsyncInlineView
AsyncSecondaryIndex

Functions

Name Summary
scan [jvm]
open suspend fun scan(pageSize: Int = 100, consistentRead: Boolean = false, filterExpression: Expression? = null, initialOffset: Offset<K>? = null): Page<K, I>
Scans up to the pageSize items or a maximum of 1 MB of data. This limit applies before the filter expression is evaluated.
scanAsync [jvm]
open fun scanAsync(): Publisher<Page<K, I>>
open fun scanAsync(initialOffset: Offset<K>?): Publisher<Page<K, I>>
open fun scanAsync(config: ScanConfig): Publisher<Page<K, I>>
open fun scanAsync(config: ScanConfig, initialOffset: Offset<K>?): Publisher<Page<K, I>>
abstract fun scanAsync(pageSize: Int = 100, consistentRead: Boolean = false, filterExpression: Expression? = null, initialOffset: Offset<K>? = null): Publisher<Page<K, I>>