Interface IAsyncResult
Interface for the result of executing a statement in QLDB. Implements IAsyncEnumerable to allow iteration over Ion values within the result.
Note that due to the fact that a result can only be retrieved from QLDB once, the IAsyncResult 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<Amazon.IonDotnet.Tree.IIonValue>.GetAsyncEnumerator(System.Threading.CancellationToken)
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public interface IAsyncResult : IAsyncEnumerable<IIonValue>
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. |