Client related classes

Client related classes

Functions

Properties

gpointer client Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ├── GAFlightCallOptions
    ├── GAFlightClient
    ╰── GAFlightClientOptions

Includes

#include <arrow-flight-glib/arrow-flight-glib.h>

Description

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.

Functions

gaflight_call_options_new ()

GAFlightCallOptions *
gaflight_call_options_new (void);

Returns

The newly created options for a call.

Since: 5.0.0


gaflight_client_options_new ()

GAFlightClientOptions *
gaflight_client_options_new (void);

Returns

The newly created options for a client.

Since: 5.0.0


gaflight_client_new ()

GAFlightClient *
gaflight_client_new (GAFlightLocation *location,
                     GAFlightClientOptions *options,
                     GError **error);

Parameters

location

A GAFlightLocation to be connected.

 

options

A GAFlightClientOptions.

[nullable]

error

Return location for a GError or NULL.

[nullable]

Returns

The newly created client, NULL on error.

[nullable]

Since: 5.0.0


gaflight_client_list_flights ()

GList *
gaflight_client_list_flights (GAFlightClient *client,
                              GAFlightCallOptions *options,
                              GAFlightCriteria *criteria,
                              GError **error);

Parameters

client

A GAFlightClient.

 

options

A GAFlightCallOptions.

[nullable]

criteria

A GAFlightCriteria.

[nullable]

error

Return location for a GError or NULL.

[nullable]

Returns

The returned list of GAFlightInfo, NULL on error.

[nullable][element-type GAFlightInfo][transfer full]

Since: 5.0.0

Types and Values

GAFLIGHT_TYPE_CALL_OPTIONS

#define GAFLIGHT_TYPE_CALL_OPTIONS (gaflight_call_options_get_type())

struct GAFlightCallOptionsClass

struct GAFlightCallOptionsClass {
  GObjectClass parent_class;
};

GAFLIGHT_TYPE_CLIENT_OPTIONS

#define GAFLIGHT_TYPE_CLIENT_OPTIONS (gaflight_client_options_get_type())

struct GAFlightClientOptionsClass

struct GAFlightClientOptionsClass {
  GObjectClass parent_class;
};

GAFLIGHT_TYPE_CLIENT

#define GAFLIGHT_TYPE_CLIENT (gaflight_client_get_type())

struct GAFlightClientClass

struct GAFlightClientClass {
  GObjectClass parent_class;
};

GAFlightCallOptions

typedef struct _GAFlightCallOptions GAFlightCallOptions;

GAFlightClient

typedef struct _GAFlightClient GAFlightClient;

GAFlightClientOptions

typedef struct _GAFlightClientOptions GAFlightClientOptions;

Property Details

The “client” property

  “client”                   gpointer

The raw arrow::flight::FlightClient *.

Owner: GAFlightClient

Flags: Write / Construct Only