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

Function gaflight_path_descriptor_new

c_glib/arrow-flight-glib/common.cpp:448–457  ·  view source on GitHub ↗

* gaflight_path_descriptor_new: * @paths: (array length=n_paths): List of paths identifying a * particular dataset. * @n_paths: The number of @paths. * * Returns: The newly created #GAFlightPathDescriptor. * * Since: 5.0.0 */

Source from the content-addressed store, hash-verified

446 * Since: 5.0.0
447 */
448GAFlightPathDescriptor *
449gaflight_path_descriptor_new(const gchar **paths, gsize n_paths)
450{
451 std::vector<std::string> flight_paths;
452 for (gsize i = 0; i < n_paths; i++) {
453 flight_paths.push_back(paths[i]);
454 }
455 auto flight_descriptor = arrow::flight::FlightDescriptor::Path(flight_paths);
456 return GAFLIGHT_PATH_DESCRIPTOR(gaflight_descriptor_new_raw(&flight_descriptor));
457}
458
459/**
460 * gaflight_path_descriptor_get_paths:

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.80
PathFunction · 0.50

Tested by

no test coverage detected