Show / Hide Table of Contents

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
BaseBufferedResult
BufferedResult
Implements
IResult
System.Collections.Generic.IEnumerable<Amazon.IonDotnet.Tree.IIonValue>
System.Collections.IEnumerable
Inherited Members
BaseBufferedResult.GetConsumedIOs()
BaseBufferedResult.GetTimingInformation()
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 Source

BufferResult(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.

| Improve this Doc View Source

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 Source

IEnumerable.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

IResult
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX