Class ConnectLinkAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<ConnectLinkAnalyticsOptions>
com.couchbase.client.java.manager.analytics.ConnectLinkAnalyticsOptions
Customizes how a analytics link is connected.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static ConnectLinkAnalyticsOptions
Creates a new instance with default values.dataverseName
(String dataverseName) Sets the name of the dataverse in which the link should be connected.force
(boolean force) Customizes if connect link should be forced or not.Sets the name of the link which should be connected.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
connectLinkAnalyticsOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
dataverseName
Sets the name of the dataverse in which the link should be connected.- Parameters:
dataverseName
- the name of the dataverse.- Returns:
- this
ConnectLinkAnalyticsOptions
for chaining purposes.
-
linkName
Sets the name of the link which should be connected.- Parameters:
linkName
- the name of the link.- Returns:
- this
ConnectLinkAnalyticsOptions
for chaining purposes.
-
force
Customizes if connect link should be forced or not.Determines the behavior of CONNECT LINK if there has been a change in the bucket’s UUID, i.e. the bucket has been deleted and recreated with the same name.
- If force is false, then CONNECT LINK fails. This is the default behavior.
- If force is true, CONNECT LINK proceeds: Analytics deletes all existing data in the dataset and ingests all data from the bucket again.
-
build
-