Uses of Class
com.couchbase.client.java.manager.query.CreateQueryIndexOptions
Package
Description
APIs related to N1QL query index management.
-
Uses of CreateQueryIndexOptions in com.couchbase.client.java.manager.query
Modifier and TypeMethodDescriptionCreateQueryIndexOptions.collectionName
(String collectionName) Deprecated.`collection.queryIndexes()` should now be used for collection-related query index operations.static CreateQueryIndexOptions
CreateQueryIndexOptions.createQueryIndexOptions()
Creates a new instance with default values.CreateQueryIndexOptions.deferred
(boolean deferred) If set to true will defer building of this index (false by default).CreateQueryIndexOptions.ignoreIfExists
(boolean ignoreIfExists) Set to true if no exception should be thrown if the index already exists (false by default).CreateQueryIndexOptions.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.Modifier and TypeMethodDescriptionAsyncCollectionQueryIndexManager.createIndex
(String indexName, Collection<String> fields, CreateQueryIndexOptions options) Creates a named query index with custom options, on this collection.AsyncQueryIndexManager.createIndex
(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options) Creates a named query index with custom options.void
CollectionQueryIndexManager.createIndex
(String indexName, Collection<String> fields, CreateQueryIndexOptions options) Creates a named query index with custom options, on this collection.void
QueryIndexManager.createIndex
(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options) Creates a named query index with custom options.ReactiveCollectionQueryIndexManager.createIndex
(String indexName, Collection<String> fields, CreateQueryIndexOptions options) Creates a named query index with custom options, on this collection.ReactiveQueryIndexManager.createIndex
(String bucketName, String indexName, Collection<String> fields, CreateQueryIndexOptions options) Creates a named query index with custom options.