Class DoPutResult
public class DoPutResult
- Inheritance
-
DoPutResult
- Inherited Members
Constructors
DoPutResult(FlightClientRecordBatchStreamWriter, IAsyncStreamReader<FlightPutResult>)
public DoPutResult(FlightClientRecordBatchStreamWriter writer, IAsyncStreamReader<FlightPutResult> reader)
Parameters
writer
FlightClientRecordBatchStreamWriterreader
IAsyncStreamReader<FlightPutResult>
Properties
Reader
public IAsyncStreamReader<FlightPutResult> Reader { get; }
Property Value
Writer
public FlightClientRecordBatchStreamWriter Writer { get; }
Property Value
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.