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.
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class BufferedResult : BaseBufferedResult, 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()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator<IIonValue> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<IIonValue> | An |
Implements
IEnumerable<>