Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Interface IAnalyticsResult<T>

    Results of an analytics query.

    Inherited Members
    IDisposable.Dispose()
    IAsyncEnumerable<T>.GetAsyncEnumerator(CancellationToken)
    IServiceResult.RetryReason
    Namespace: Couchbase.Analytics
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface IAnalyticsResult<out T> : IDisposable, IAsyncEnumerable<T>, IServiceResult
    Type Parameters
    Name Description
    T

    Type of each row in the result.

    Properties

    | Edit this page View Source

    MetaData

    Gets the meta data associated with the analytics result.

    Declaration
    AnalyticsMetaData? MetaData { get; }
    Property Value
    Type Description
    AnalyticsMetaData
    | Edit this page View Source

    Rows

    The results of the query as a IAsyncEnumerable<T>.

    Declaration
    IAsyncEnumerable<out T> Rows { get; }
    Property Value
    Type Description
    IAsyncEnumerable<T>
    Remarks

    In most cases, the rows may be enumerated only once. If it's necessary to enumerate more than once, use ToListAsync<TSource>(IAsyncEnumerable<TSource>, CancellationToken) to convert to a list. ToListAsync can also be used to enumerate with a synchronous foreach loop in C# 7.

    Extension Methods

    ServiceResultExtensions.ThrowOnNoRetry(IServiceResult)
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.