|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
#include <couchbase/bucket_manager.hxx>
Public Member Functions | |
| void | get_bucket (std::string bucket_name, const get_bucket_options &options, get_bucket_handler &&handler) const |
| Get specific bucket within 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_all_buckets (const get_all_buckets_options &options, get_all_buckets_handler &&handler) const |
| Get all buckets on the cluster. | |
| auto | get_all_buckets (const get_all_buckets_options &options={}) const -> std::future< std::pair< error, std::vector< management::cluster::bucket_settings > > > |
| 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. | |
| auto | create_bucket (const management::cluster::bucket_settings &bucket_settings, const create_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 | update_bucket (const management::cluster::bucket_settings &bucket_settings, const update_bucket_options &options={}) const -> std::future< error > |
| void | drop_bucket (std::string bucket_name, const drop_bucket_options &options, drop_bucket_handler &&handler) const |
| Drop an existing bucket. | |
| auto | drop_bucket (std::string bucket_name, const drop_bucket_options &options={}) const -> std::future< error > |
| void | flush_bucket (std::string bucket_name, const flush_bucket_options &options, flush_bucket_handler &&handler) const |
| Flush an existing bucket. | |
| auto | flush_bucket (std::string bucket_name, const flush_bucket_options &options={}) const -> std::future< error > |
Friends | |
| class | cluster |
| 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.
| bucket_settings | the settings for the bucket |
| options | optional parameters |
| handler | handler that implements create_bucket_handler |
|
nodiscard |
| void drop_bucket | ( | std::string | bucket_name, |
| const drop_bucket_options & | options, | ||
| drop_bucket_handler && | handler ) const |
Drop an existing bucket.
| bucket_name | the name of the bucket to drop |
| options | optional parameters |
| handler | handler that implements drop_bucket_handler |
|
nodiscard |
| void flush_bucket | ( | std::string | bucket_name, |
| const flush_bucket_options & | options, | ||
| flush_bucket_handler && | handler ) const |
Flush an existing bucket.
| bucket_name | the name of the bucket to flush |
| options | optional parameters |
| handler | handler that implements flush_bucket_handler |
|
nodiscard |
| void get_all_buckets | ( | const get_all_buckets_options & | options, |
| get_all_buckets_handler && | handler ) const |
Get all buckets on the cluster.
| options | optional parameters |
| handler | handler that implements get_all_buckets_handler |
|
nodiscard |
| void get_bucket | ( | std::string | bucket_name, |
| const get_bucket_options & | options, | ||
| get_bucket_handler && | handler ) const |
Get specific bucket within the cluster.
| bucket_name | the name of the bucket to get |
| options | optional parameters |
| handler | handler that implements get_bucket_handler |
|
nodiscard |
| void update_bucket | ( | const management::cluster::bucket_settings & | bucket_settings, |
| const update_bucket_options & | options, | ||
| update_bucket_handler && | handler ) const |
Update an existing bucket.
| bucket_settings | the settings for the bucket |
| options | optional parameters |
| handler | handler that implements update_bucket_handler |
|
nodiscard |
|
friend |