Class CreateDatasetAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<CreateDatasetAnalyticsOptions>
com.couchbase.client.java.manager.analytics.CreateDatasetAnalyticsOptions
Allows customizing how datasets are created.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Customizes the "WHERE" clause of the index creation statement.Creates a new instance with default values.dataverseName
(String dataverseName) Customizes the dataverse from which this dataset should be created.ignoreIfExists
(boolean ignore) Customizes if an already 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
-
createDatasetAnalyticsOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
ignoreIfExists
Customizes if an already 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 already exists.- Returns:
- this options class for chaining purposes.
-
dataverseName
Customizes the dataverse from which this dataset should be created.- Parameters:
dataverseName
- the name of the dataverse.- Returns:
- this options class for chaining purposes.
-
condition
Customizes the "WHERE" clause of the index creation statement.- Parameters:
condition
- the condition that should be appended to the where clause.- Returns:
- this options class for chaining purposes.
-
build
-