Uses of Class
com.couchbase.client.java.manager.query.CreateQueryIndexOptions
Package | Description |
---|---|
com.couchbase.client.java.manager.query |
APIs related to N1QL query index management.
|
-
Uses of CreateQueryIndexOptions in com.couchbase.client.java.manager.query
Methods in com.couchbase.client.java.manager.query that return CreateQueryIndexOptions Modifier and Type Method Description static CreateQueryIndexOptions
CreateQueryIndexOptions. createQueryIndexOptions()
CreateQueryIndexOptions
CreateQueryIndexOptions. deferred(boolean deferred)
Set totrue
to defer building of the index untilQueryIndexManager.buildDeferredIndexes(java.lang.String)
is called.CreateQueryIndexOptions
CreateQueryIndexOptions. ignoreIfExists(boolean ignore)
If an index with the same name already exists, an exception will be thrown unless this is set to true.CreateQueryIndexOptions
CreateQueryIndexOptions. numReplicas(int numReplicas)
Specifies the number of replicas of the index to create.CreateQueryIndexOptions
CreateQueryIndexOptions. with(String optionName, Object optionValue)
Escape hatch for specifying extra options in theWITH
clause.Methods in com.couchbase.client.java.manager.query with parameters of type CreateQueryIndexOptions Modifier and Type Method Description CompletableFuture<Void>
AsyncQueryIndexManager. createIndex(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options)
void
QueryIndexManager. createIndex(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options)
Mono<Void>
ReactiveQueryIndexManager. createIndex(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options)