Class CoreQueryIndexManager
java.lang.Object
com.couchbase.client.core.manager.CoreQueryIndexManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildDeferredIndexes
(String bucketName, CoreBuildQueryIndexOptions options) createIndex
(String bucketName, String indexName, Collection<String> fields, CoreCreateQueryIndexOptions options) createPrimaryIndex
(String bucketName, CoreCreatePrimaryQueryIndexOptions options) dropIndex
(String bucketName, String indexName, CoreDropQueryIndexOptions options) dropPrimaryIndex
(String bucketName, CoreDropPrimaryQueryIndexOptions options) getAllIndexes
(String bucketName, CoreGetAllQueryIndexesOptions options) getNamedParamsForGetAllIndexes
(String bucket, String scope, String collection) Deprecated.static com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode
getParamsForGetAllIndexes
(String bucket, String scope, String collection) static String
getStatementForGetAllIndexes
(String bucket, String scope, String collection) watchIndexes
(String bucketName, Collection<String> indexNames, Duration timeout, CoreWatchQueryIndexesOptions options)
-
Constructor Details
-
CoreQueryIndexManager
-
-
Method Details
-
getParamsForGetAllIndexes
-
getNamedParamsForGetAllIndexes
@Deprecated public static Map<String,String> getNamedParamsForGetAllIndexes(@Nullable String bucket, @Nullable String scope, @Nullable String collection) Deprecated.Only here temporarily for Kotlin and Scala, will be removed. -
getStatementForGetAllIndexes
-
createIndex
public CompletableFuture<Void> createIndex(String bucketName, String indexName, Collection<String> fields, CoreCreateQueryIndexOptions options) -
createPrimaryIndex
public CompletableFuture<Void> createPrimaryIndex(String bucketName, CoreCreatePrimaryQueryIndexOptions options) -
getAllIndexes
public CompletableFuture<List<CoreQueryIndex>> getAllIndexes(String bucketName, CoreGetAllQueryIndexesOptions options) -
dropPrimaryIndex
public CompletableFuture<Void> dropPrimaryIndex(String bucketName, CoreDropPrimaryQueryIndexOptions options) -
dropIndex
public CompletableFuture<Void> dropIndex(String bucketName, String indexName, CoreDropQueryIndexOptions options) -
buildDeferredIndexes
public CompletableFuture<Void> buildDeferredIndexes(String bucketName, CoreBuildQueryIndexOptions options) -
watchIndexes
public CompletableFuture<Void> watchIndexes(String bucketName, Collection<String> indexNames, Duration timeout, CoreWatchQueryIndexesOptions options)
-