Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class AnalyticsExtensions

Analytics related extensions for ICluster.

Inheritance
object
AnalyticsExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Analytics
Assembly: Couchbase.NetClient.dll
Syntax
public static class AnalyticsExtensions

Methods

View Source

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 Task<IEnumerable<IMutationResult>> IngestAsync<T>(this ICluster cluster, string statement, ICouchbaseCollection collection, IngestOptions ingestOptions = null)
Parameters
Type Name Description
ICluster cluster
string statement
ICouchbaseCollection collection
IngestOptions ingestOptions
Returns
Type Description
Task<IEnumerable<IMutationResult>>
Type Parameters
Name Description
T
View Source

IngestAsync<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
string statement
ICouchbaseCollection collection
Action<IngestOptions> configureOptions
Returns
Type Description
Task<IEnumerable<IMutationResult>>
Type Parameters
Name Description
T
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.