Uses of Class
com.couchbase.client.java.manager.query.CreatePrimaryQueryIndexOptions
-
Packages that use CreatePrimaryQueryIndexOptions Package Description com.couchbase.client.java.manager.query APIs related to N1QL query index management. -
-
Uses of CreatePrimaryQueryIndexOptions in com.couchbase.client.java.manager.query
Methods in com.couchbase.client.java.manager.query that return CreatePrimaryQueryIndexOptions Modifier and Type Method Description CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. collectionName(String collectionName)Deprecated.`collection.queryIndexes()` should now be used for collection-related query index operations.static CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. createPrimaryQueryIndexOptions()Creates a new instance with default values.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. deferred(boolean deferred)If set to true will defer building of this index (false by default).CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. ignoreIfExists(boolean ignoreIfExists)Set to true if no exception should be thrown if the primary index already exists (false by default).CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. indexName(String indexName)The custom name of the primary index.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. numReplicas(int numReplicas)Configures the number of index replicas.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. scopeName(String scopeName)Deprecated.`collection.queryIndexes()` should now be used for collection-related query index operations.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. 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 CreatePrimaryQueryIndexOptions Modifier and Type Method Description CompletableFuture<Void>AsyncCollectionQueryIndexManager. createPrimaryIndex(CreatePrimaryQueryIndexOptions options)Creates a primary query index with custom options, on this collection.CompletableFuture<Void>AsyncQueryIndexManager. createPrimaryIndex(String bucketName, CreatePrimaryQueryIndexOptions options)Creates a primary query index with custom options.voidCollectionQueryIndexManager. createPrimaryIndex(CreatePrimaryQueryIndexOptions options)Creates a primary query index with custom options, on this collection.voidQueryIndexManager. createPrimaryIndex(String bucketName, CreatePrimaryQueryIndexOptions options)Creates a primary query index with custom options.Mono<Void>ReactiveCollectionQueryIndexManager. createPrimaryIndex(CreatePrimaryQueryIndexOptions options)Creates a primary query index with custom options, on this collection.Mono<Void>ReactiveQueryIndexManager. createPrimaryIndex(String bucketName, CreatePrimaryQueryIndexOptions options)Creates a primary query index with custom options.
-