.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    ISqlQueryResult Interface

    Namespace: Hazelcast.Sql
    Assembly: Hazelcast.Net.dll

    Represents the result of a SQL query (SELECT ...).

    public interface ISqlQueryResult : IAsyncEnumerable<SqlRow>, IAsyncDisposable
    Inherited Members
    IAsyncEnumerable<SqlRow>.GetAsyncEnumerator(CancellationToken)
    IAsyncDisposable.DisposeAsync()
    Remarks

    The result of a SQL query is a one-off IAsyncEnumerable<T> of SqlRows. It can be enumerated only once. Trying to iterate rows multiple times will throw InvalidOperationException.

    This class implements IAsyncDisposable and instances should be disposed when not needed in order to free server-side resources. Failing to dispose instances may impact performances on the server. Recommended way is to wrap execution in to an await using statement.

    This class is stateful and not thread-safe, executing its method in parallel may lead to unpredictable results.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.