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.
Implements
System.Collections.Generic.IEnumerable<Amazon.IonDotnet.Tree.IIonValue>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class BufferedResult : BaseBufferedResult, IResult, IEnumerable<IIonValue>, IEnumerable
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 |
---|---|
System.Collections.Generic.IEnumerator<Amazon.IonDotnet.Tree.IIonValue> | An System.Collections.IEnumerator object that can be used to iterate through the collection. |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable