Show / Hide Table of Contents

Interface IResult<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.IEnumerable<T>.GetEnumerator()
Namespace: Amazon.QLDB.Driver.Generic
Assembly: Amazon.QLDB.Driver.dll
Syntax
public interface IResult<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

The return type of each document returned from the database.

Methods

| Improve this Doc View Source

GetConsumedIOs()

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX