//tempest2/app.cash.tempest2/Scannable/scan
scan¶
[jvm]\ abstract fun scan(pageSize: Int = 100, consistentRead: Boolean = false, filterExpression: Expression? = null, initialOffset: Offset<K>? = null, workerId: WorkerId? = 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.
Parameters¶
jvm
workerId | identifies a tuple of segment and totalSegments in the context of parallel scans. |
[jvm]\ open fun scan(): Page<K, I>
open fun scan(initialOffset: Offset<K>?): Page<K, I>
open fun scan(config: ScanConfig): Page<K, I>
open fun scan(config: ScanConfig, initialOffset: Offset<K>?): Page<K, I>