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

Function gaflight_info_equal

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

* gaflight_info_equal: * @info: A #GAFlightInfo. * @other_info: A #GAFlightInfo to be compared. * * Returns: %TRUE if both of them represents the same information, * %FALSE otherwise. * * Since: 5.0.0 */

Source from the content-addressed store, hash-verified

960 * Since: 5.0.0
961 */
962gboolean
963gaflight_info_equal(GAFlightInfo *info, GAFlightInfo *other_info)
964{
965 const auto flight_info = gaflight_info_get_raw(info);
966 const auto flight_other_info = gaflight_info_get_raw(other_info);
967 return (flight_info->serialized_schema() == flight_other_info->serialized_schema()) &&
968 (flight_info->descriptor() == flight_other_info->descriptor()) &&
969 (flight_info->endpoints() == flight_other_info->endpoints()) &&
970 (flight_info->total_records() == flight_other_info->total_records()) &&
971 (flight_info->total_bytes() == flight_other_info->total_bytes());
972}
973
974/**
975 * gaflight_info_get_schema:

Callers

nothing calls this directly

Calls 2

gaflight_info_get_rawFunction · 0.85
total_bytesMethod · 0.80

Tested by

no test coverage detected