Skip to content

//tempest2/app.cash.tempest2/Queryable/query

query

[jvm]\ abstract 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.

[jvm]\ open fun query(keyCondition: KeyCondition<K>): Page<K, I>

open fun query(keyCondition: KeyCondition<K>, initialOffset: Offset<K>?): Page<K, I>

open fun query(keyCondition: KeyCondition<K>, config: QueryConfig): Page<K, I>

open fun query(keyCondition: KeyCondition<K>, config: QueryConfig, initialOffset: Offset<K>?): Page<K, I>