Class ReactiveAnalyticsIndexManager
- java.lang.Object
-
- com.couchbase.client.java.manager.analytics.ReactiveAnalyticsIndexManager
-
public class ReactiveAnalyticsIndexManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ReactiveAnalyticsIndexManager(AsyncCluster cluster)
-
Method Summary
-
-
-
Constructor Detail
-
ReactiveAnalyticsIndexManager
public ReactiveAnalyticsIndexManager(AsyncCluster cluster)
-
-
Method Detail
-
createDataverse
public Mono<Void> createDataverse(String dataverseName)
- Throws:
DataverseExistsException
- if a dataverse with the given name already exists
-
createDataverse
public Mono<Void> createDataverse(String dataverseName, CreateDataverseAnalyticsOptions options)
- Throws:
DataverseExistsException
- if a dataverse with the given name already exist and the options do not specify to ignore this condition.
-
dropDataverse
public Mono<Void> dropDataverse(String dataverseName)
- Throws:
DataverseNotFoundException
- if no dataverse with the given name exists
-
dropDataverse
public Mono<Void> dropDataverse(String dataverseName, DropDataverseAnalyticsOptions options)
- Throws:
DataverseNotFoundException
- if no dataverse with the given name exists and the options do not specify to ignore this condition.
-
getAllDataverses
@Uncommitted public Flux<AnalyticsDataverse> getAllDataverses()
-
getAllDataverses
@Uncommitted public Flux<AnalyticsDataverse> getAllDataverses(GetAllDataversesAnalyticsOptions options)
-
createDataset
public Mono<Void> createDataset(String datasetName, String bucketName, CreateDatasetAnalyticsOptions options)
-
dropDataset
public Mono<Void> dropDataset(String datasetName, DropDatasetAnalyticsOptions options)
-
getAllDatasets
public Flux<AnalyticsDataset> getAllDatasets()
-
getAllDatasets
public Flux<AnalyticsDataset> getAllDatasets(GetAllDatasetsAnalyticsOptions options)
-
createIndex
public Mono<Void> createIndex(String indexName, String datasetName, Map<String,AnalyticsDataType> fields)
-
createIndex
public Mono<Void> createIndex(String indexName, String datasetName, Map<String,AnalyticsDataType> fields, CreateIndexAnalyticsOptions options)
-
dropIndex
public Mono<Void> dropIndex(String indexName, String datasetName, DropIndexAnalyticsOptions options)
-
getAllIndexes
public Flux<AnalyticsIndex> getAllIndexes()
-
getAllIndexes
public Flux<AnalyticsIndex> getAllIndexes(GetAllIndexesAnalyticsOptions options)
-
connectLink
public Mono<Void> connectLink(ConnectLinkAnalyticsOptions options)
-
disconnectLink
public Mono<Void> disconnectLink(DisconnectLinkAnalyticsOptions options)
-
getPendingMutations
public Mono<Map<String,Map<String,Long>>> getPendingMutations(GetPendingMutationsAnalyticsOptions options)
-
createLink
public Mono<Void> createLink(AnalyticsLink link)
-
createLink
public Mono<Void> createLink(AnalyticsLink link, CreateLinkAnalyticsOptions options)
-
replaceLink
public Mono<Void> replaceLink(AnalyticsLink link)
-
replaceLink
public Mono<Void> replaceLink(AnalyticsLink link, ReplaceLinkAnalyticsOptions options)
-
dropLink
public Mono<Void> dropLink(String linkName, String dataverse, DropLinkAnalyticsOptions options)
-
getLinks
public Flux<AnalyticsLink> getLinks()
-
getLinks
public Flux<AnalyticsLink> getLinks(GetLinksAnalyticsOptions options)
-
-