Class ClusterExtensions
Inheritance
ClusterExtensions
Assembly: Couchbase.NetClient.dll
Syntax
public static class ClusterExtensions
Methods
View Source
AnalyticsQueryAsync<T>(ICluster, string, Action<AnalyticsOptions>)
Declaration
public static Task<IAnalyticsResult<T>> AnalyticsQueryAsync<T>(this ICluster cluster, string statement, Action<AnalyticsOptions> configureOptions)
Parameters
Returns
Type Parameters
View Source
AnalyticsQuery<T>(ICluster, string, AnalyticsOptions)
Declaration
[Obsolete("Use the async version instead.")]
public static IAnalyticsResult<T> AnalyticsQuery<T>(this ICluster cluster, string statement, AnalyticsOptions options = null)
Parameters
Returns
Type Parameters
View Source
AnalyticsQuery<T>(ICluster, string, Action<AnalyticsOptions>)
Declaration
[Obsolete("Use the async version instead.")]
public static IAnalyticsResult<T> AnalyticsQuery<T>(this ICluster cluster, string statement, Action<AnalyticsOptions> configureOptions)
Parameters
Returns
Type Parameters
View Source
DiagnosticsAsync(ICluster, Action<DiagnosticsOptions>)
Declaration
public static Task<IDiagnosticsReport> DiagnosticsAsync(this ICluster cluster, Action<DiagnosticsOptions> configureOptions)
Parameters
Returns
View Source
QueryAsync<T>(ICluster, string)
Declaration
public static Task<IQueryResult<T>> QueryAsync<T>(this ICluster cluster, string statement)
Parameters
Returns
Type Parameters
View Source
QueryAsync<T>(ICluster, string, Action<QueryOptions>)
Declaration
public static Task<IQueryResult<T>> QueryAsync<T>(this ICluster cluster, string statement, Action<QueryOptions> configureOptions)
Parameters
Returns
Type Parameters
View Source
QueryInterpolatedAsync<T>(ICluster, ref QueryInterpolatedStringHandler)
Executes an interpolated query.
Declaration
[InterfaceStability(Level.Volatile)]
public static Task<IQueryResult<T>> QueryInterpolatedAsync<T>(this ICluster cluster, ref QueryInterpolatedStringHandler handler)
Parameters
Returns
Type Parameters
| Name |
Description |
| T |
Type of row returned by the query.
|
Remarks
View Source
QueryInterpolatedAsync<T>(ICluster, QueryOptions, ref QueryInterpolatedStringHandler)
Executes an interpolated query.
Declaration
[InterfaceStability(Level.Volatile)]
public static Task<IQueryResult<T>> QueryInterpolatedAsync<T>(this ICluster cluster, QueryOptions options, ref QueryInterpolatedStringHandler handler)
Parameters
Returns
Type Parameters
| Name |
Description |
| T |
Type of row returned by the query.
|
Remarks
View Source
QueryInterpolatedAsync<T>(ICluster, Action<QueryOptions>, ref QueryInterpolatedStringHandler)
Executes an interpolated query.
Declaration
[InterfaceStability(Level.Volatile)]
public static Task<IQueryResult<T>> QueryInterpolatedAsync<T>(this ICluster cluster, Action<QueryOptions> configureOptions, ref QueryInterpolatedStringHandler handler)
Parameters
Returns
Type Parameters
| Name |
Description |
| T |
Type of row returned by the query.
|
Remarks
View Source
SearchQueryAsync(ICluster, string, ISearchQuery, Action<SearchOptions>)
Declaration
public static Task<ISearchResult> SearchQueryAsync(this ICluster cluster, string indexName, ISearchQuery query, Action<SearchOptions> configureOptions)
Parameters
Returns