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

Public Member Functions | |
| auto | link_type () const -> analytics_link_type override |
| Returns the type of this analytics link. | |
| couchbase_remote_analytics_link ()=default | |
| Constructs an empty remote Couchbase analytics link. | |
| couchbase_remote_analytics_link (std::string name, std::string dataverse_name, std::string hostname, couchbase_analytics_encryption_settings encryption={}, std::optional< std::string > username={}, std::optional< std::string > password={}) | |
| Constructs and initializes a remote Couchbase analytics link with the given parameters. | |
| Public Member Functions inherited from analytics_link | |
| virtual | ~analytics_link ()=default |
| analytics_link ()=default | |
| analytics_link (std::string name, std::string dataverse_name) | |
Public Attributes | |
| std::string | hostname |
| couchbase_analytics_encryption_settings | encryption {} |
| std::optional< std::string > | username {} |
| std::optional< std::string > | password {} |
| Public Attributes inherited from analytics_link | |
| std::string | name |
| std::string | dataverse_name |
|
default |
Constructs an empty remote Couchbase analytics link.
| couchbase_remote_analytics_link | ( | std::string | name, |
| std::string | dataverse_name, | ||
| std::string | hostname, | ||
| couchbase_analytics_encryption_settings | encryption = {}, | ||
| std::optional< std::string > | username = {}, | ||
| std::optional< std::string > | password = {} ) |
Constructs and initializes a remote Couchbase analytics link with the given parameters.
A remote analytics link uses a Couchbase data service that is not part of the same cluster as the Analytics service.
| name | the name of the link |
| dataverse_name | the dataverse that the link belongs to. Its format can be one part dataversename or two parts bucket_name/scope_name |
| hostname | the hostname of the target Couchbase cluster |
| encryption | the encryption settings for the link |
| username | the username to use for authentication with the remote cluster. Optional if client certificate authentication is being used |
| password | the password to use for authentication with the remote cluster. Optional if client-certificate authentication is being used |
|
inlinenodiscardoverridevirtual |
| couchbase_analytics_encryption_settings encryption {} |
| std::string hostname |
| std::optional<std::string> password {} |
| std::optional<std::string> username {} |