Class DropIndexAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<DropIndexAnalyticsOptions>
com.couchbase.client.java.manager.analytics.DropIndexAnalyticsOptions
Customizes how an index is 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) The name of the dataverse in which the index exists.static DropIndexAnalyticsOptions
Creates a new instance with default values.ignoreIfNotExists
(boolean ignore) Ignore the drop operation if the index does not exist.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
dropIndexAnalyticsOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
ignoreIfNotExists
Ignore the drop operation if the index does not exist.- Parameters:
ignore
- if true no exception will be thrown if the index does not exist.- Returns:
- this
DropIndexAnalyticsOptions
for chaining purposes.
-
dataverseName
The name of the dataverse in which the index exists.- Parameters:
dataverseName
- the name of the dataverse.- Returns:
- this
DropIndexAnalyticsOptions
for chaining purposes.
-
build
-