Package com. couchbase. client. kotlin. query
Types
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
Create instances using the positional or named factory methods.
Link copied to clipboard
Controls how much query profiling information is included in the response metadata.
Link copied to clipboard
Link copied to clipboard
class QueryRow(content: ByteArray, defaultSerializer: JsonSerializer) : QueryFlowItem
Content copied to clipboard
One row of a query result.
Link copied to clipboard
Create instances using the requestPlus, consistentWith, or notBounded factory methods.
Link copied to clipboard
Link copied to clipboard
Functions
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.