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 static CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. createPrimaryQueryIndexOptions()CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. deferred(boolean deferred)Set totrueto defer building of the index untilQueryIndexManager.buildDeferredIndexes(java.lang.String)is called.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. ignoreIfExists(boolean ignore)If a primary index already exists, an exception will be thrown unless this is set to true.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. indexName(String indexName)Specifies the name of the primary index to create.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. numReplicas(int numReplicas)Specifies the number of replicas of the index to create.CreatePrimaryQueryIndexOptionsCreatePrimaryQueryIndexOptions. with(String optionName, Object optionValue)Escape hatch for specifying extra options in theWITHclause.Methods in com.couchbase.client.java.manager.query with parameters of type CreatePrimaryQueryIndexOptions Modifier and Type Method Description CompletableFuture<Void>AsyncQueryIndexManager. createPrimaryIndex(String bucketName, CreatePrimaryQueryIndexOptions options)voidQueryIndexManager. createPrimaryIndex(String bucketName, CreatePrimaryQueryIndexOptions options)Mono<Void>ReactiveQueryIndexManager. createPrimaryIndex(String bucketName, CreatePrimaryQueryIndexOptions options)
-