 | AnalyticsExtensionsIngestAsyncT Method (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.
Namespace:
Couchbase.Analytics
Assembly:
Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntaxpublic static Task<IEnumerable<IMutationResult>> IngestAsync<T>(
this ICluster cluster,
string statement,
ICouchbaseCollection collection,
IngestOptions ingestOptions = null
)
Parameters
- cluster
- Type: CouchbaseICluster
- statement
- Type: SystemString
- collection
- Type: Couchbase.KeyValueICouchbaseCollection
- ingestOptions (Optional)
- Type: Couchbase.AnalyticsIngestOptions
Type Parameters
- T
Return Value
Type:
TaskIEnumerableIMutationResult[Missing <returns> documentation for "M:Couchbase.Analytics.AnalyticsExtensions.IngestAsync``1(Couchbase.ICluster,System.String,Couchbase.KeyValue.ICouchbaseCollection,Couchbase.Analytics.IngestOptions)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICluster. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also