Class BufferedResult
Implementation of a result which buffers all values in memory, rather than stream them from QLDB during retrieval. This implementation should only be used when the result is to be returned after the parent transaction is to be committed.
Inheritance
System.Object
BufferedResult
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class BufferedResult : object, IResult, IEnumerable<IIonValue>
Methods
| Improve this Doc View SourceBufferResult(IResult)
Constructor for the result which buffers into the memory the supplied result before closing it.
Declaration
public static BufferedResult BufferResult(IResult result)
Parameters
Type | Name | Description |
---|---|---|
IResult | result | The result which is to be buffered into memory and closed. |
Returns
Type | Description |
---|---|
BufferedResult | The BufferedResult object. |
GetEnumerator()
Declaration
public IEnumerator<IIonValue> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<IIonValue> |
Implements
IEnumerable<>