| GBytes * | expression | Read / Write |
| gpointer | descriptor | Write / Construct Only |
| GAFlightTicket * | ticket | Read |
| gpointer | info | Write / Construct Only |
| gpointer | reader | Write / Construct Only |
| gpointer | chunk | Write / Construct Only |
| GBytes * | data | Read / Write |
| #define | GAFLIGHT_TYPE_CRITERIA |
| struct | GAFlightCriteriaClass |
| #define | GAFLIGHT_TYPE_LOCATION |
| struct | GAFlightLocationClass |
| #define | GAFLIGHT_TYPE_DESCRIPTOR |
| struct | GAFlightDescriptorClass |
| #define | GAFLIGHT_TYPE_PATH_DESCRIPTOR |
| struct | GAFlightPathDescriptorClass |
| #define | GAFLIGHT_TYPE_COMMAND_DESCRIPTOR |
| struct | GAFlightCommandDescriptorClass |
| #define | GAFLIGHT_TYPE_TICKET |
| struct | GAFlightTicketClass |
| #define | GAFLIGHT_TYPE_ENDPOINT |
| struct | GAFlightEndpointClass |
| #define | GAFLIGHT_TYPE_INFO |
| struct | GAFlightInfoClass |
| #define | GAFLIGHT_TYPE_STREAM_CHUNK |
| struct | GAFlightStreamChunkClass |
| #define | GAFLIGHT_TYPE_RECORD_BATCH_READER |
| struct | GAFlightRecordBatchReaderClass |
| GAFlightCommandDescriptor | |
| GAFlightCriteria | |
| GAFlightDescriptor | |
| GAFlightEndpoint | |
| GAFlightInfo | |
| GAFlightLocation | |
| GAFlightPathDescriptor | |
| GAFlightRecordBatchReader | |
| GAFlightStreamChunk | |
| GAFlightTicket |
GObject ├── GAFlightCriteria ├── GAFlightDescriptor │ ├── GAFlightCommandDescriptor │ ├── GAFlightPathDescriptor │ ╰── GAFlightCommandDescriptor ├── GAFlightEndpoint ├── GAFlightInfo ├── GAFlightLocation ├── GAFlightRecordBatchReader │ ╰── GAFlightStreamReader ├── GAFlightStreamChunk ╰── GAFlightTicket
GAFlightCriteria is a class for criteria.
GAFlightLocation is a class for location.
GAFlightDescriptor is a base class for all descriptor classes such as GAFlightPathDescriptor.
GAFlightPathDescriptor is a class for path descriptor.
GAFlightCommandDescriptor is a class for command descriptor.
GAFlightTicket is a class for ticket.
GAFlightEndpoint is a class for endpoint.
GAFlightInfo is a class for flight information.
GAFlightStreamChunk is a class for a chunk in stream.
GAFlightRecordBatchReader is a class for reading record batches.
void (*GAFlightHeaderFunc) (const gchar *name,const gchar *value,gpointer user_data);
It is called with each header name/value pair, together with the
user_data
parameter which is passed to
gaflight_call_options_foreach_header() and so on.
name |
A header name. |
|
value |
The value corresponding to the name. |
|
user_data |
User data passed to |
Since: 9.0.0
GAFlightCriteria *
gaflight_criteria_new (GBytes *expression);
Since: 5.0.0
GAFlightLocation * gaflight_location_new (const gchar *uri,GError **error);
Since: 5.0.0
gchar *
gaflight_location_to_string (GAFlightLocation *location);
A representation of this URI as a string.
It should be freed with g_free() when no longer needed.
Since: 5.0.0
gchar *
gaflight_location_get_scheme (GAFlightLocation *location);
Since: 5.0.0
gboolean gaflight_location_equal (GAFlightLocation *location,GAFlightLocation *other_location);
Since: 5.0.0
gchar *
gaflight_descriptor_to_string (GAFlightDescriptor *descriptor);
Since: 5.0.0
gboolean gaflight_descriptor_equal (GAFlightDescriptor *descriptor,GAFlightDescriptor *other_descriptor);
Since: 5.0.0
GAFlightPathDescriptor * gaflight_path_descriptor_new (const gchar **paths,gsize n_paths);
paths |
List of paths identifying a particular dataset. |
[array length=n_paths] |
n_paths |
The number of |
Since: 5.0.0
gchar **
gaflight_path_descriptor_get_paths (GAFlightPathDescriptor *descriptor);
The paths in this descriptor.
It must be freed with g_strfreev() when no longer needed.
[nullable][array zero-terminated=1][transfer full]
Since: 5.0.0
GAFlightCommandDescriptor *
gaflight_command_descriptor_new (const gchar *command);
Since: 5.0.0
gchar *
gaflight_command_descriptor_get_command
(GAFlightCommandDescriptor *descriptor);
The opaque value used to express a command.
It should be freed with g_free() when no longer needed.
Since: 5.0.0
gboolean gaflight_ticket_equal (GAFlightTicket *ticket,GAFlightTicket *other_ticket);
Since: 5.0.0
GAFlightEndpoint * gaflight_endpoint_new (GAFlightTicket *ticket,GList *locations);
Since: 5.0.0
gboolean gaflight_endpoint_equal (GAFlightEndpoint *endpoint,GAFlightEndpoint *other_endpoint);
Since: 5.0.0
GList *
gaflight_endpoint_get_locations (GAFlightEndpoint *endpoint);
The locations in this endpoint.
It must be freed with g_list_free() and g_object_unref() when no
longer needed. You can use g_list_free_full(locations,
g_object_unref).
[nullable][element-type GAFlightLocation][transfer full]
Since: 5.0.0
GAFlightInfo * gaflight_info_new (GArrowSchema *schema,GAFlightDescriptor *descriptor,GList *endpoints,gint64 total_records,gint64 total_bytes,GError **error);
schema |
A GArrowSchema. |
|
descriptor |
||
endpoints |
A list of GAFlightEndpoint. |
[element-type GAFlightEndpoint] |
total_records |
The number of total records. |
|
total_bytes |
The number of total bytes. |
|
error |
[nullable] |
Since: 5.0.0
gboolean gaflight_info_equal (GAFlightInfo *info,GAFlightInfo *other_info);
Since: 5.0.0
GArrowSchema * gaflight_info_get_schema (GAFlightInfo *info,GArrowReadOptions *options,GError **error);
Since: 5.0.0
GAFlightDescriptor *
gaflight_info_get_descriptor (GAFlightInfo *info);
Since: 5.0.0
GList *
gaflight_info_get_endpoints (GAFlightInfo *info);
The list of GAFlightEndpoint of the information.
[element-type GAFlightEndpoint][transfer full]
Since: 5.0.0
gint64
gaflight_info_get_total_records (GAFlightInfo *info);
Since: 5.0.0
gint64
gaflight_info_get_total_bytes (GAFlightInfo *info);
Since: 5.0.0
GArrowRecordBatch *
gaflight_stream_chunk_get_data (GAFlightStreamChunk *chunk);
Since: 6.0.0
GArrowBuffer *
gaflight_stream_chunk_get_metadata (GAFlightStreamChunk *chunk);
Since: 6.0.0
GAFlightStreamChunk * gaflight_record_batch_reader_read_next (GAFlightRecordBatchReader *reader,GError **error);
Since: 6.0.0
GArrowTable * gaflight_record_batch_reader_read_all (GAFlightRecordBatchReader *reader,GError **error);
Since: 6.0.0
#define GAFLIGHT_TYPE_PATH_DESCRIPTOR (gaflight_path_descriptor_get_type())
struct GAFlightPathDescriptorClass {
GAFlightDescriptorClass parent_class;
};
#define GAFLIGHT_TYPE_COMMAND_DESCRIPTOR (gaflight_command_descriptor_get_type())
struct GAFlightCommandDescriptorClass {
GAFlightDescriptorClass parent_class;
};
“expression” property“expression” GBytes *
Opaque criteria expression, dependent on server implementation.
Owner: GAFlightCriteria
Flags: Read / Write
Since: 5.0.0
“descriptor” property“descriptor” gpointer
The raw arrow::flight::FlightDescriptor.
Owner: GAFlightDescriptor
Flags: Write / Construct Only
“ticket” property“ticket” GAFlightTicket *
Opaque ticket identify; use with DoGet RPC.
Owner: GAFlightEndpoint
Flags: Read
Since: 5.0.0
“info” property“info” gpointer
The raw arrow::flight::FlightInfo *.
Owner: GAFlightInfo
Flags: Write / Construct Only
“reader” property“reader” gpointer
The raw arrow::flight::MetadataRecordBatchReader *.
Owner: GAFlightRecordBatchReader
Flags: Write / Construct Only
“chunk” property“chunk” gpointer
The raw arrow::flight::FlightStreamChunk *.
Owner: GAFlightStreamChunk
Flags: Write / Construct Only