Bucket
Functions
collection
Link copied to clipboard
Returns the requested collection in the bucket's default scope.
default Collection
Link copied to clipboard
Returns the default collection in this bucket's default scope.
default Scope
Link copied to clipboard
Returns this bucket's default scope.
view Query
Link copied to clipboard
fun viewQuery(designDocument: String, viewName: String, common: CommonOptions = CommonOptions.Default, serializer: JsonSerializer? = null, namespace: DesignDocumentNamespace = PRODUCTION, scanConsistency: ViewScanConsistency = ViewScanConsistency.updateAfter(), selection: ViewSelection = ViewSelection.range(), skip: Int = 0, limit: Int? = null, reduce: Boolean = true, group: ViewGroupLevel = ViewGroupLevel.none(), onError: ViewErrorMode = ViewErrorMode.CONTINUE, debug: Boolean = false, raw: Map<String, String>? = null): Flow<ViewFlowItem>
Content copied to clipboard
Queries a view on the bucket.
wait Until Ready
Link copied to clipboard
suspend fun waitUntilReady(timeout: Duration, services: Set<ServiceType> = emptySet(), desiredState: ClusterState = ClusterState.ONLINE): Bucket
Content copied to clipboard
Waits until SDK bootstrap is complete and the desired ClusterState is observed.