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:1315–1327  ·  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

1313 * Since: 9.0.0
1314 */
1315GAFlightInfo *
1316gaflight_server_get_flight_info(GAFlightServer *server,
1317 GAFlightServerCallContext *context,
1318 GAFlightDescriptor *request,
1319 GError **error)
1320{
1321 auto klass = GAFLIGHT_SERVER_GET_CLASS(server);
1322 if (!(klass && klass->get_flight_info)) {
1323 g_set_error(error, GARROW_ERROR, GARROW_ERROR_NOT_IMPLEMENTED, "not implemented");
1324 return nullptr;
1325 }
1326 return (*(klass->get_flight_info))(server, context, request, error);
1327}
1328
1329/**
1330 * gaflight_server_do_get:

Callers 1

GetFlightInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected