do_put


Description:

[ Version ( since = "18.0.0" ) ]
public DoPutResult? do_put (Descriptor descriptor, Schema schema, CallOptions? options) throws Error

Upload data to a Flight described by the given descriptor.

The caller must call close on the returned stream once they are done writing.

The reader and writer are linked; closing the writer will also close the reader. Use garrow_flight_stream_writer_done_writing to only close the write side of the channel.

Parameters:

this

A Client.

descriptor

A Descriptor.

schema

A Schema.

options

A CallOptions.

Returns:

The GAFlighDoPutResult holding a reader and a writer on success, null on error.