Uses of Class
com.couchbase.client.java.manager.query.CreateQueryIndexOptions
-
Packages that use 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 CreateQueryIndexOptionsCreateQueryIndexOptions. collectionName(String collectionName)Sets the collection name for this query management operation.static CreateQueryIndexOptionsCreateQueryIndexOptions. createQueryIndexOptions()Creates a new instance with default values.CreateQueryIndexOptionsCreateQueryIndexOptions. deferred(boolean deferred)If set to true will defer building of this index (false by default).CreateQueryIndexOptionsCreateQueryIndexOptions. ignoreIfExists(boolean ignoreIfExists)Set to true if no exception should be thrown if the index already exists (false by default).CreateQueryIndexOptionsCreateQueryIndexOptions. numReplicas(int numReplicas)Configures the number of index replicas.CreateQueryIndexOptionsCreateQueryIndexOptions. scopeName(String scopeName)Sets the scope name for this query management operation.CreateQueryIndexOptionsCreateQueryIndexOptions. with(String optionName, Object optionValue)Allows passing in custom options into the N1QL WITH clause for index creation.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)Creates a named query index with custom options.voidQueryIndexManager. createIndex(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options)Creates a named query index with custom options.Mono<Void>ReactiveQueryIndexManager. createIndex(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options)Creates a named query index with custom options.
-