Package | Description |
---|---|
com.couchbase.client.java.manager.query |
APIs related to N1QL query index management.
|
Modifier and Type | Method and Description |
---|---|
static CreateQueryIndexOptions |
CreateQueryIndexOptions.createQueryIndexOptions() |
CreateQueryIndexOptions |
CreateQueryIndexOptions.deferred(boolean deferred)
Set to
true to defer building of the index until
QueryIndexManager.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 the
WITH clause. |
Modifier and Type | Method and 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) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.