Top | ![]() |
![]() |
![]() |
![]() |
#define | GAFLIGHT_TYPE_STREAM_READER |
struct | GAFlightStreamReaderClass |
#define | GAFLIGHT_TYPE_CALL_OPTIONS |
struct | GAFlightCallOptionsClass |
#define | GAFLIGHT_TYPE_CLIENT_OPTIONS |
struct | GAFlightClientOptionsClass |
#define | GAFLIGHT_TYPE_CLIENT |
struct | GAFlightClientClass |
GAFlightCallOptions | |
GAFlightClient | |
GAFlightClientOptions | |
GAFlightStreamReader |
GObject ├── GAFlightRecordBatchReader │ ╰── GAFlightStreamReader ├── GAFlightCallOptions ├── GAFlightClient ╰── GAFlightClientOptions
GAFlightStreamReader is a class for reading record batches from a server.
GAFlightCallOptions is a class for options of each call.
GAFlightClientOptions is a class for options of each client.
GAFlightClient is a class for Apache Arrow Flight client.
void gaflight_call_options_add_header (GAFlightCallOptions *options
,const gchar *name
,const gchar *value
);
Add a header.
Since: 9.0.0
void
gaflight_call_options_clear_headers (GAFlightCallOptions *options
);
Clear all headers.
Since: 9.0.0
void gaflight_call_options_foreach_header (GAFlightCallOptions *options
,GAFlightHeaderFunc func
,gpointer user_data
);
Iterates over all header in the options.
options |
||
func |
The user's callback function. |
[scope call] |
user_data |
Data for |
[closure] |
Since: 9.0.0
GAFlightClientOptions *
gaflight_client_options_new (void
);
Since: 5.0.0
GAFlightClient * gaflight_client_new (GAFlightLocation *location
,GAFlightClientOptions *options
,GError **error
);
location |
A GAFlightLocation to be connected. |
|
options |
[nullable] | |
error |
Return location for a GError or |
[nullable] |
Since: 5.0.0
gboolean gaflight_client_close (GAFlightClient *client
,GError **error
);
Since: 8.0.0
GList * gaflight_client_list_flights (GAFlightClient *client
,GAFlightCriteria *criteria
,GAFlightCallOptions *options
,GError **error
);
client |
||
criteria |
[nullable] | |
options |
[nullable] | |
error |
Return location for a GError or |
[nullable] |
The returned list of GAFlightInfo on success, NULL
on error.
[nullable][element-type GAFlightInfo][transfer full]
Since: 5.0.0
GAFlightInfo * gaflight_client_get_flight_info (GAFlightClient *client
,GAFlightDescriptor *descriptor
,GAFlightCallOptions *options
,GError **error
);
client |
||
descriptor |
A GAFlightDescriptor to be processed. |
|
options |
[nullable] | |
error |
Return location for a GError or |
[nullable] |
Since: 9.0.0
GAFlightStreamReader * gaflight_client_do_get (GAFlightClient *client
,GAFlightTicket *ticket
,GAFlightCallOptions *options
,GError **error
);
The GAFlightStreamReader to read record batched from the server
on success, NULL
on error.
[nullable][transfer full]
Since: 6.0.0
struct GAFlightStreamReaderClass { GAFlightRecordBatchReaderClass parent_class; };
#define GAFLIGHT_TYPE_CLIENT_OPTIONS (gaflight_client_options_get_type())