Couchbase .NET SDK | 3.8.0
Search Results for

    Show / Hide Table of Contents

    Class ClusterExtensions

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

    Methods

    | Edit this page 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
    Type Name Description
    ICluster cluster
    string statement
    Action<AnalyticsOptions> configureOptions
    Returns
    Type Description
    Task<IAnalyticsResult<T>>
    Type Parameters
    Name Description
    T
    | Edit this page 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
    Type Name Description
    ICluster cluster
    string statement
    AnalyticsOptions options
    Returns
    Type Description
    IAnalyticsResult<T>
    Type Parameters
    Name Description
    T
    | Edit this page 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
    Type Name Description
    ICluster cluster
    string statement
    Action<AnalyticsOptions> configureOptions
    Returns
    Type Description
    IAnalyticsResult<T>
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    DiagnosticsAsync(ICluster, Action<DiagnosticsOptions>)

    Declaration
    public static Task<IDiagnosticsReport> DiagnosticsAsync(this ICluster cluster, Action<DiagnosticsOptions> configureOptions)
    Parameters
    Type Name Description
    ICluster cluster
    Action<DiagnosticsOptions> configureOptions
    Returns
    Type Description
    Task<IDiagnosticsReport>
    | Edit this page View Source

    QueryAsync<T>(ICluster, string)

    Declaration
    public static Task<IQueryResult<T>> QueryAsync<T>(this ICluster cluster, string statement)
    Parameters
    Type Name Description
    ICluster cluster
    string statement
    Returns
    Type Description
    Task<IQueryResult<T>>
    Type Parameters
    Name Description
    T
    | Edit this page 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
    Type Name Description
    ICluster cluster
    string statement
    Action<QueryOptions> configureOptions
    Returns
    Type Description
    Task<IQueryResult<T>>
    Type Parameters
    Name Description
    T
    | Edit this page 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
    Type Name Description
    ICluster cluster
    string indexName
    ISearchQuery query
    Action<SearchOptions> configureOptions
    Returns
    Type Description
    Task<ISearchResult>
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.