|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
#include <couchbase/create_query_index_options.hxx>

Classes | |
| struct | built |
| Immutable value object representing consistent options. More... | |
Public Member Functions | |
| auto | ignore_if_exists (bool ignore_if_exists) -> create_query_index_options & |
| Set flag to ignore error if the index already exists. | |
| auto | build_deferred (bool deferred) -> create_query_index_options & |
| Set flag to defer building of the index. | |
| auto | num_replicas (uint8_t num_replicas) -> create_query_index_options & |
| Set the number of replicas the index will have. | |
| auto | condition (std::string condition) -> create_query_index_options & |
| Supply an extra condition on this index. | |
| auto | build () const -> built |
| Validates options and returns them as an immutable value. | |
| Public Member Functions inherited from common_options< create_query_index_options > | |
| auto | timeout (const std::chrono::milliseconds timeout) -> create_query_index_options & |
| Specifies a custom per-operation timeout. | |
| auto | retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> create_query_index_options & |
Specifies a custom couchbase::retry_strategy for this operation. | |
| auto | parent_span (std::shared_ptr< tracing::request_span > span) -> create_query_index_options & |
Additional Inherited Members | |
| Protected Member Functions inherited from common_options< create_query_index_options > | |
| auto | build_common_options () const -> built |
| auto | self () -> create_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 defer building of the index.
The default is false, meaning start building the index immediately.
| deferred |
|
inline |
Supply an extra condition on this index.
This is the contents of the WHERE clause when creating the index.
| condition |
|
inline |
Set flag to ignore error if the index already exists.
The default is to not ignore the error.
| ignore_if_exists | if true, we don't return an error if the index already exists |
|
inline |
Set the number of replicas the index will have.
| num_replicas |