Uses of Class
com.couchbase.client.java.manager.query.CreatePrimaryQueryIndexOptions
Packages that use CreatePrimaryQueryIndexOptions
Package
Description
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 CreatePrimaryQueryIndexOptionsModifier and TypeMethodDescriptionCreatePrimaryQueryIndexOptions.collectionName
(String collectionName) Deprecated.`collection.queryIndexes()` should now be used for collection-related query index operations.CreatePrimaryQueryIndexOptions.createPrimaryQueryIndexOptions()
Creates a new instance with default values.CreatePrimaryQueryIndexOptions.deferred
(boolean deferred) If set to true will defer building of this index (false by default).CreatePrimaryQueryIndexOptions.ignoreIfExists
(boolean ignoreIfExists) Set to true if no exception should be thrown if the primary index already exists (false by default).The custom name of the primary index.CreatePrimaryQueryIndexOptions.numReplicas
(int numReplicas) Configures the number of index replicas.Deprecated.`collection.queryIndexes()` should now be used for collection-related query index operations.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 CreatePrimaryQueryIndexOptionsModifier and TypeMethodDescriptionAsyncCollectionQueryIndexManager.createPrimaryIndex
(CreatePrimaryQueryIndexOptions options) Creates a primary query index with custom options, on this collection.AsyncQueryIndexManager.createPrimaryIndex
(String bucketName, CreatePrimaryQueryIndexOptions options) Creates a primary query index with custom options.void
CollectionQueryIndexManager.createPrimaryIndex
(CreatePrimaryQueryIndexOptions options) Creates a primary query index with custom options, on this collection.void
QueryIndexManager.createPrimaryIndex
(String bucketName, CreatePrimaryQueryIndexOptions options) Creates a primary query index with custom options.ReactiveCollectionQueryIndexManager.createPrimaryIndex
(CreatePrimaryQueryIndexOptions options) Creates a primary query index with custom options, on this collection.ReactiveQueryIndexManager.createPrimaryIndex
(String bucketName, CreatePrimaryQueryIndexOptions options) Creates a primary query index with custom options.