//tempest2/app.cash.tempest2/AsyncSecondaryIndex
AsyncSecondaryIndex¶
[jvm]\ interface AsyncSecondaryIndex<K : Any, I : Any> : AsyncScannable<K, I> , AsyncQueryable<K, I>
Types¶
Name | Summary |
---|---|
Factory | [jvm] interface Factory |
Functions¶
Name | Summary |
---|---|
query | [jvm] open suspend fun query(keyCondition: KeyCondition<K>, asc: Boolean = true, pageSize: Int = 100, consistentRead: Boolean = false, filterExpression: Expression? = null, initialOffset: Offset<K>? = null, returnConsumedCapacity: ReturnConsumedCapacity? = null): Page<K, I> Reads up to the pageSize items or a maximum of 1 MB of data. This limit applies before the filter expression is evaluated. |
queryAsync | [jvm] open fun queryAsync(keyCondition: KeyCondition<K>): Publisher<Page<K, I>> open fun queryAsync(keyCondition: KeyCondition<K>, initialOffset: Offset<K>?): Publisher<Page<K, I>> open fun queryAsync(keyCondition: KeyCondition<K>, config: QueryConfig): Publisher<Page<K, I>> open fun queryAsync(keyCondition: KeyCondition<K>, config: QueryConfig, initialOffset: Offset<K>?): Publisher<Page<K, I>> abstract fun queryAsync(keyCondition: KeyCondition<K>, asc: Boolean, pageSize: Int, consistentRead: Boolean, filterExpression: Expression?, initialOffset: Offset<K>?, returnConsumedCapacity: ReturnConsumedCapacity?): Publisher<Page<K, I>> |
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>> |