31#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
38class bucket_manager_impl;
64 const -> std::future<std::pair<error, management::cluster::bucket_settings>>;
79 -> std::future<std::pair<
error, std::vector<management::cluster::bucket_settings>>>;
94 -> std::future<error>;
109 -> std::future<error>;
123 const -> std::future<error>;
137 const -> std::future<error>;
144 std::shared_ptr<bucket_manager_impl> impl_;
Definition bucket_manager.hxx:47
void create_bucket(const management::cluster::bucket_settings &bucket_settings, const create_bucket_options &options, create_bucket_handler &&handler) const
Create a bucket on the cluster.
void get_all_buckets(const get_all_buckets_options &options, get_all_buckets_handler &&handler) const
Get all buckets on the cluster.
auto get_bucket(std::string bucket_name, const get_bucket_options &options={}) const -> std::future< std::pair< error, management::cluster::bucket_settings > >
void get_bucket(std::string bucket_name, const get_bucket_options &options, get_bucket_handler &&handler) const
Get specific bucket within the cluster.
void drop_bucket(std::string bucket_name, const drop_bucket_options &options, drop_bucket_handler &&handler) const
Drop an existing bucket.
auto create_bucket(const management::cluster::bucket_settings &bucket_settings, const create_bucket_options &options={}) const -> std::future< error >
auto update_bucket(const management::cluster::bucket_settings &bucket_settings, const update_bucket_options &options={}) const -> std::future< error >
auto drop_bucket(std::string bucket_name, const drop_bucket_options &options={}) const -> std::future< error >
auto flush_bucket(std::string bucket_name, const flush_bucket_options &options={}) const -> std::future< error >
void update_bucket(const management::cluster::bucket_settings &bucket_settings, const update_bucket_options &options, update_bucket_handler &&handler) const
Update an existing bucket.
auto get_all_buckets(const get_all_buckets_options &options={}) const -> std::future< std::pair< error, std::vector< management::cluster::bucket_settings > > >
void flush_bucket(std::string bucket_name, const flush_bucket_options &options, flush_bucket_handler &&handler) const
Flush an existing bucket.
The cluster is the main entry point when connecting to a Couchbase cluster.
Definition cluster.hxx:60
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error)> drop_bucket_handler
Definition drop_bucket_options.hxx:40
std::function< void(error)> flush_bucket_handler
Definition flush_bucket_options.hxx:38
std::function< void(error, management::cluster::bucket_settings)> get_bucket_handler
Definition get_bucket_options.hxx:41
std::function< void(error, std::vector< management::cluster::bucket_settings >)> get_all_buckets_handler
Definition get_all_buckets_options.hxx:41
std::function< void(error)> update_bucket_handler
Definition update_bucket_options.hxx:40
std::function< void(error)> create_bucket_handler
Definition create_bucket_options.hxx:40
Definition create_bucket_options.hxx:27
Definition drop_bucket_options.hxx:27
Definition flush_bucket_options.hxx:25
Definition get_all_buckets_options.hxx:28
Definition get_bucket_options.hxx:28
Definition bucket_settings.hxx:113
Definition update_bucket_options.hxx:27