Class DropDatasetAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<DropDatasetAnalyticsOptions>
com.couchbase.client.java.manager.analytics.DropDatasetAnalyticsOptions
Allows customizing how datasets are dropped.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dataverseName
(String dataverseName) Customizes the dataverse from which this dataset should be dropped.static DropDatasetAnalyticsOptions
Creates a new instance with default values.ignoreIfNotExists
(boolean ignore) Customizes if a non-existing dataset should throw an exception or not (false by default, so it will throw).Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
dropDatasetAnalyticsOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
ignoreIfNotExists
Customizes if a non-existing dataset should throw an exception or not (false by default, so it will throw).- Parameters:
ignore
- true if no exception should be raised if the dataset does not exist.- Returns:
- this options class for chaining purposes.
-
dataverseName
Customizes the dataverse from which this dataset should be dropped.- Parameters:
dataverseName
- the name of the dataverse.- Returns:
- this options class for chaining purposes.
-
build
-