Package com. couchbase. client. kotlin. query
Types
Query Flow Item
Link copied to clipboard
Query Metadata
Link copied to clipboard
class QueryMetadata(header: QueryChunkHeader, trailer: QueryChunkTrailer) : QueryFlowItem
Content copied to clipboard
Metadata about query execution. Always the last item in the flow.
Query Metrics
Link copied to clipboard
Query Parameters
Link copied to clipboard
Create instances using the positional or named factory methods.
Query Profile
Link copied to clipboard
Controls how much query profiling information is included in the response metadata.
Query Result
Link copied to clipboard
Query Row
Link copied to clipboard
class QueryRow(content: ByteArray, defaultSerializer: JsonSerializer) : QueryFlowItem
Content copied to clipboard
One row of a query result.
Query Scan Consistency
Link copied to clipboard
Create instances using the requestPlus, consistentWith, or notBounded factory methods.
Query Status
Link copied to clipboard
Query Warning
Link copied to clipboard
Functions
execute
Link copied to clipboard
Collects a query Flow into a QueryResult. Should only be called if the query results are expected to fit in memory.
inline suspend fun Flow<QueryFlowItem>.execute(crossinline rowAction: suspend (QueryRow) -> Unit): QueryMetadata
Content copied to clipboard
Collects a query Flow, passing each result row to the given lambda. Returns metadata about the query.