Returns a AnalyticsIndexManager which can be used to manage the analytics indexes of this cluster.
Executes an analytics query against the cluster.
The analytics statement to execute.
Optionaloptions: AnalyticsQueryOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<AnalyticsResult<TRow>>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Creates a Bucket object reference to a specific bucket.
The name of the bucket to reference.
Returns a BucketManager which can be used to manage the buckets of this cluster.
Shuts down this cluster object. Cleaning up all resources associated with it.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns a diagnostics report about the currently active connections with the cluster. Includes information about remote and local addresses, last activity, and other diagnostics information.
Optionaloptions: DiagnosticsOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<DiagnosticsResult>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns a EventingFunctionManager which can be used to manage the eventing functions of this cluster. Uncommitted: This API is subject to change in the future.
Performs a ping operation against the cluster. Pinging the services which are specified (or all services if none are specified). Returns a report which describes the outcome of the ping operations which were performed.
Optionaloptions: PingOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<PingResult>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Executes a N1QL query against the cluster.
The N1QL statement to execute.
Optionaloptions: QueryOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<QueryResult<TRow>>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns a QueryIndexManager which can be used to manage the query indexes of this cluster.
Executes a search query against the cluster.
The name of the index to query.
The SearchRequest describing the search to execute.
Optionaloptions: SearchQueryOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<SearchResult>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns a SearchIndexManager which can be used to manage the search indexes of this cluster.
Executes a search query against the cluster.
The name of the index to query.
The SearchQuery describing the query to execute.
Optionaloptions: SearchQueryOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<SearchResult>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns a Transactions object which can be used to perform transactions on this cluster.
Update the credentials used by this cluster.
The new credentials to use.
Returns a UserManager which can be used to manage the users of this cluster.
Waits until the cluster reaches the desired state or the timeout elapses. The default desired state is ClusterState.Online.
On a couchbase2:// cluster this waits for the gateway's health check,
which covers the whole cluster, and does not use serviceTypes or
desiredState.
The time in milliseconds to wait for the cluster to become ready.
Optionaloptions: WaitUntilReadyOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A callback to be invoked after execution. Deprecated: await the returned promise instead.
Exposes the operations which are available to be performed against a cluster. Namely the ability to access to Buckets as well as performing management operations against the cluster.