31#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
82 [[nodiscard]] auto
scope(std::string_view scope_name) const ->
scope;
121 -> std::future<std::pair<error, ping_result>>;
159 -> std::future<error>;
174 bucket(
core::cluster
core, std::string_view name, std::shared_ptr<
crypto::manager>);
176 std::shared_ptr<bucket_impl> impl_;
auto default_collection() const -> collection
Opens the default collection for this bucket using the default scope.
void wait_until_ready(std::chrono::milliseconds timeout, const wait_until_ready_options &options, wait_until_ready_handler &&handler) const
Waits until the desired state of the bucket is reached, actively pinging its services until they resp...
auto scope(std::string_view scope_name) const -> scope
Opens the scope with the given name.
auto wait_until_ready(std::chrono::milliseconds timeout, const wait_until_ready_options &options={}) const -> std::future< error >
Waits until the desired state of the bucket is reached.
auto default_scope() const -> scope
Opens default scope.
auto collections() const -> collection_manager
Provides access to the collection management services.
void ping(const ping_options &options, ping_handler &&handler) const
Performs application-level ping requests against services in the Couchbase cluster.
The cluster is the main entry point when connecting to a Couchbase cluster.
Definition cluster.hxx:62
Definition collection_manager.hxx:47
The collection provides access to all collection APIs.
Definition collection.hxx:76
Definition internal.hxx:27
Represents a single item from the result of scan().
Definition allow_querying_search_index_options.hxx:28
@ timeout
Definition analytics_status.hxx:34
std::function< void(error, ping_result)> ping_handler
Definition ping_options.hxx:93
std::function< void(error)> wait_until_ready_handler
The signature for the handler of the cluster::wait_until_ready() and bucket::wait_until_ready() opera...
Definition wait_until_ready_options.hxx:110
Definition ping_options.hxx:32
Options for wait_until_ready() and wait_until_ready().
Definition wait_until_ready_options.hxx:36