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
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.