Interface IAsyncResult<T>
Interface for the result of executing a statement in QLDB. Implements IEnumerable to allow iteration over generic values of T within the result.
Note that due to the fact that a result can only be retrieved from QLDB once, the IResult may only be iterated over once and is not thread-safe. Attempts to do so multiple times will result in an exception.
Inherited Members
System.Collections.Generic.IAsyncEnumerable<T>.GetAsyncEnumerator(System.Threading.CancellationToken)
Namespace: Amazon.QLDB.Driver.Generic
Assembly: Amazon.QLDB.Driver.dll
Syntax
public interface IAsyncResult<T> : IAsyncEnumerable<T>
Type Parameters
Name | Description |
---|---|
T | The return type of each document returned from the database. |
Methods
| Improve this Doc View SourceGetConsumedIOs()
Gets the current query statistics for the number of read IO requests. The statistics are stateful.
Declaration
IOUsage? GetConsumedIOs()
Returns
Type | Description |
---|---|
System.Nullable<IOUsage> | The current IOUsage statistics. |
GetTimingInformation()
Gets the current query statistics for server-side processing time. The statistics are stateful.
Declaration
TimingInformation? GetTimingInformation()
Returns
Type | Description |
---|---|
System.Nullable<TimingInformation> | The current TimingInformation statistics. |