Class AnalyticsExtensions
Analytics related extensions for ICluster.
Inheritance
System.Object
AnalyticsExtensions
Namespace: Couchbase.Analytics
Assembly: Couchbase.NetClient.dll
Syntax
public static class AnalyticsExtensions : object
Methods
| Improve this Doc View SourceIngestAsync<T>(ICluster, String, ICouchbaseCollection, Action<IngestOptions>)
Executes a query and ingests the results as documents into Couchbase server for further analytics.
NOTE: This is an experimental API and may change in the future.
Declaration
public static Task<IEnumerable<IMutationResult>> IngestAsync<T>(this ICluster cluster, string statement, ICouchbaseCollection collection, Action<IngestOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
ICluster | cluster | |
System.String | statement | |
ICouchbaseCollection | collection | |
Action<IngestOptions> | configureOptions |
Returns
Type | Description |
---|---|
Task<IEnumerable<IMutationResult>> |
Type Parameters
Name | Description |
---|---|
T |
IngestAsync<T>(ICluster, String, ICouchbaseCollection, IngestOptions)
Executes a query and ingests the results as documents into Couchbase server for further analytics.
NOTE: This is an experimental API and may change in the future.
Declaration
public static async Task<IEnumerable<IMutationResult>> IngestAsync<T>(this ICluster cluster, string statement, ICouchbaseCollection collection, IngestOptions ingestOptions = null)
Parameters
Type | Name | Description |
---|---|---|
ICluster | cluster | |
System.String | statement | |
ICouchbaseCollection | collection | |
IngestOptions | ingestOptions |
Returns
Type | Description |
---|---|
Task<IEnumerable<IMutationResult>> |
Type Parameters
Name | Description |
---|---|
T |