Class BuildQueryIndexOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<BuildQueryIndexOptions>
com.couchbase.client.java.manager.query.BuildQueryIndexOptions
Allows customizing how deferred indexes are built.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static BuildQueryIndexOptions
Creates a new instance with default values.collectionName
(String collectionName) Sets the collection name for this query management operation.Sets the scope name for this query management operation.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
buildDeferredQueryIndexesOptions
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
scopeName
Sets the scope name for this query management operation.Please note that if the scope name is set, the
collectionName(String)
(String)} must also be set.- Parameters:
scopeName
- the name of the scope.- Returns:
- this options class for chaining purposes.
-
collectionName
Sets the collection name for this query management operation.Please note that if the collection name is set, the
scopeName(String)
must also be set.- Parameters:
collectionName
- the name of the collection.- Returns:
- this options class for chaining purposes.
-
build
-