Class CoreCollectionQueryIndexManager
- java.lang.Object
-
- com.couchbase.client.core.manager.CoreCollectionQueryIndexManager
-
-
Constructor Summary
Constructors Constructor Description CoreCollectionQueryIndexManager(CoreQueryOps queryOps, RequestTracer requestTracer, CoreKeyspace collection)
-
Method Summary
-
-
-
Constructor Detail
-
CoreCollectionQueryIndexManager
public CoreCollectionQueryIndexManager(CoreQueryOps queryOps, RequestTracer requestTracer, CoreKeyspace collection)
-
-
Method Detail
-
getNamedParamsForGetAllIndexes
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode getNamedParamsForGetAllIndexes()
-
getStatementForGetAllIndexes
public String getStatementForGetAllIndexes()
-
createIndex
public CompletableFuture<Void> createIndex(String indexName, Collection<String> fields, CoreCreateQueryIndexOptions options)
-
createPrimaryIndex
public CompletableFuture<Void> createPrimaryIndex(CoreCreatePrimaryQueryIndexOptions options)
-
getAllIndexes
public CompletableFuture<List<CoreQueryIndex>> getAllIndexes(CoreGetAllQueryIndexesOptions options)
-
dropPrimaryIndex
public CompletableFuture<Void> dropPrimaryIndex(CoreDropPrimaryQueryIndexOptions options)
-
dropIndex
public CompletableFuture<Void> dropIndex(String indexName, CoreDropQueryIndexOptions options)
-
buildDeferredIndexes
public CompletableFuture<Void> buildDeferredIndexes(CoreBuildQueryIndexOptions options)
-
watchIndexes
public CompletableFuture<Void> watchIndexes(Collection<String> indexNames, Duration timeout, CoreWatchQueryIndexesOptions options)
-
formatIndexFields
public static String formatIndexFields(Collection<String> fields)
-
toWatchTimeoutException
public static Throwable toWatchTimeoutException(Throwable t, Duration timeout)
-
failIfIndexesOfflineHelper
public static Void failIfIndexesOfflineHelper(Set<String> indexNames, boolean includePrimary, List<CoreQueryIndex> allIndexes)
-
toQueryOptions
public static CoreQueryOptions toQueryOptions(CoreCommonOptions options, boolean readonly, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode parameters)
-
quote
public static String quote(CoreKeyspace keyspace)
-
createIndexWith
@Nullable public static Map<String,Object> createIndexWith(CoreCreateQueryIndexSharedOptions options)
-
-