MCPcopy Create free account
hub / github.com/apache/arrow / gaflight_server_get_flight_info

Function gaflight_server_get_flight_info

c_glib/arrow-flight-glib/server.cpp:1376–1388  ·  view source on GitHub ↗

* gaflight_server_get_flight_info: * @server: A #GAFlightServer. * @context: A #GAFlightServerCallContext. * @request: A #GAFlightDescriptor. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (transfer full): A #GAFlightInfo on success, %NULL on error. * * Since: 9.0.0 */

Source from the content-addressed store, hash-verified

1374 * Since: 9.0.0
1375 */
1376GAFlightInfo *
1377gaflight_server_get_flight_info(GAFlightServer *server,
1378 GAFlightServerCallContext *context,
1379 GAFlightDescriptor *request,
1380 GError **error)
1381{
1382 auto klass = GAFLIGHT_SERVER_GET_CLASS(server);
1383 if (!(klass && klass->get_flight_info)) {
1384 g_set_error(error, GARROW_ERROR, GARROW_ERROR_NOT_IMPLEMENTED, "not implemented");
1385 return nullptr;
1386 }
1387 return (*(klass->get_flight_info))(server, context, request, error);
1388}
1389
1390/**
1391 * gaflight_server_do_get:

Callers 1

GetFlightInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected