Class CreateIndexAnalyticsOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<CreateIndexAnalyticsOptions>
com.couchbase.client.java.manager.analytics.CreateIndexAnalyticsOptions
Customizes how an index is created.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CreateIndexAnalyticsOptions
Creates a new instance with default values.dataverseName
(String dataverseName) The name of the dataverse in which the index exists.ignoreIfExists
(boolean ignore) Ignore the create operation if the index exists.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
createIndexAnalyticsOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
ignoreIfExists
Ignore the create operation if the index exists.- Parameters:
ignore
- if true no exception will be thrown if the index already exists.- Returns:
- this
CreateIndexAnalyticsOptions
for chaining purposes.
-
dataverseName
The name of the dataverse in which the index exists.- Parameters:
dataverseName
- the name of the dataverse.- Returns:
- this
CreateIndexAnalyticsOptions
for chaining purposes.
-
build
-