Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
|
#include <couchbase/drop_query_index_options.hxx>
Classes | |
struct | built |
Immutable value object representing consistent options. More... | |
Public Member Functions | |
auto | ignore_if_not_exists (bool ignore_if_not_exists) -> drop_query_index_options & |
Set flag to ignore error if the index already exists. | |
auto | build () const -> built |
Validates options and returns them as an immutable value. | |
Public Member Functions inherited from common_options< drop_query_index_options > | |
auto | timeout (const std::chrono::milliseconds timeout) -> drop_query_index_options & |
Specifies a custom per-operation timeout. | |
auto | retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> drop_query_index_options & |
Specifies a custom couchbase::retry_strategy for this operation. | |
auto | parent_span (std::shared_ptr< tracing::request_span > span) -> drop_query_index_options & |
Additional Inherited Members | |
Protected Member Functions inherited from common_options< drop_query_index_options > | |
auto | build_common_options () const -> built |
auto | self () -> drop_query_index_options & |
Allows to return the right options builder instance for child implementations. | |
|
inlinenodiscard |
Validates options and returns them as an immutable value.
std::system_error | with code errc::common::invalid_argument if the options are not valid |
|
inline |
Set flag to ignore error if the index already exists.
The default is to not ignore the error.
ignore_if_not_exists | if true, we don't return an error if the index already exists |