Class DropIndexAnalyticsOptions
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions<DropIndexAnalyticsOptions>
-
- com.couchbase.client.java.manager.analytics.DropIndexAnalyticsOptions
-
public class DropIndexAnalyticsOptions extends CommonOptions<DropIndexAnalyticsOptions>
Customizes how an index is dropped.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDropIndexAnalyticsOptions.Built-
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DropIndexAnalyticsOptions.Builtbuild()DropIndexAnalyticsOptionsdataverseName(String dataverseName)The name of the dataverse in which the index exists.static DropIndexAnalyticsOptionsdropIndexAnalyticsOptions()Creates a new instance with default values.DropIndexAnalyticsOptionsignoreIfNotExists(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 Detail
-
dropIndexAnalyticsOptions
public static DropIndexAnalyticsOptions dropIndexAnalyticsOptions()
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
ignoreIfNotExists
public DropIndexAnalyticsOptions ignoreIfNotExists(boolean ignore)
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
DropIndexAnalyticsOptionsfor chaining purposes.
-
dataverseName
public DropIndexAnalyticsOptions dataverseName(String dataverseName)
The name of the dataverse in which the index exists.- Parameters:
dataverseName- the name of the dataverse.- Returns:
- this
DropIndexAnalyticsOptionsfor chaining purposes.
-
build
@Internal public DropIndexAnalyticsOptions.Built build()
-
-