//tempest2/app.cash.tempest2/AsyncQueryable
AsyncQueryable¶
interface AsyncQueryable<K : Any, I : Any>
Inheritors¶
AsyncInlineView |
AsyncSecondaryIndex |
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>> |