@Stability.Internal public class CoreCollectionQueryIndexManager extends Object
| Constructor and Description |
|---|
CoreCollectionQueryIndexManager(CoreQueryOps queryOps,
RequestTracer requestTracer,
CoreKeyspace collection) |
public CoreCollectionQueryIndexManager(CoreQueryOps queryOps, RequestTracer requestTracer, CoreKeyspace collection)
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode getNamedParamsForGetAllIndexes()
public String getStatementForGetAllIndexes()
public CompletableFuture<Void> createIndex(String indexName, Collection<String> fields, CoreCreateQueryIndexOptions options)
public CompletableFuture<Void> createPrimaryIndex(CoreCreatePrimaryQueryIndexOptions options)
public CompletableFuture<List<CoreQueryIndex>> getAllIndexes(CoreGetAllQueryIndexesOptions options)
public CompletableFuture<Void> dropPrimaryIndex(CoreDropPrimaryQueryIndexOptions options)
public CompletableFuture<Void> dropIndex(String indexName, CoreDropQueryIndexOptions options)
public CompletableFuture<Void> buildDeferredIndexes(CoreBuildQueryIndexOptions options)
public CompletableFuture<Void> watchIndexes(Collection<String> indexNames, Duration timeout, CoreWatchQueryIndexesOptions options)
public static String formatIndexFields(Collection<String> fields)
public static Throwable toWatchTimeoutException(Throwable t, Duration timeout)
public static Void failIfIndexesOfflineHelper(Set<String> indexNames, boolean includePrimary, List<CoreQueryIndex> allIndexes)
public static CoreQueryOptions toQueryOptions(CoreCommonOptions options, boolean readonly, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode parameters)
public static String quote(CoreKeyspace keyspace)
@Nullable public static Map<String,Object> createIndexWith(CoreCreateQueryIndexSharedOptions options)
Copyright © 2024 Couchbase, Inc.. All rights reserved.