Table of Contents

Class DoPutResult

Namespace
Apache.Arrow.Flight.Sql
Assembly
Apache.Arrow.Flight.Sql.dll
public class DoPutResult
Inheritance
DoPutResult
Inherited Members

Constructors

DoPutResult(FlightClientRecordBatchStreamWriter, IAsyncStreamReader<FlightPutResult>)

public DoPutResult(FlightClientRecordBatchStreamWriter writer, IAsyncStreamReader<FlightPutResult> reader)

Parameters

writer FlightClientRecordBatchStreamWriter
reader IAsyncStreamReader<FlightPutResult>

Properties

Reader

public IAsyncStreamReader<FlightPutResult> Reader { get; }

Property Value

IAsyncStreamReader<FlightPutResult>

Writer

public FlightClientRecordBatchStreamWriter Writer { get; }

Property Value

FlightClientRecordBatchStreamWriter

Methods

CompleteAsync()

Completes the writer by signaling the end of the writing process.

public Task CompleteAsync()

Returns

Task

A Task representing the completion of the writer.

ReadMetadataAsync(CancellationToken)

Reads the metadata asynchronously from the reader.

public Task<ByteString> ReadMetadataAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<ByteString>

A ByteString containing the metadata read from the reader.