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

Function garrow_array_equal_range

c_glib/arrow-glib/basic-array.cpp:1001–1024  ·  view source on GitHub ↗

* garrow_array_equal_range: * @array: A #GArrowArray. * @start_index: The start index of @array to be used. * @other_array: A #GArrowArray to be compared. * @other_start_index: The start index of @other_array to be used. * @end_index: The end index of @array to be used. The end index of * @other_array is "@other_start_index + (@end_index - * @start_index)". * @options: (nullable): A #G

Source from the content-addressed store, hash-verified

999 * Since: 0.4.0
1000 */
1001gboolean
1002garrow_array_equal_range(GArrowArray *array,
1003 gint64 start_index,
1004 GArrowArray *other_array,
1005 gint64 other_start_index,
1006 gint64 end_index,
1007 GArrowEqualOptions *options)
1008{
1009 const auto arrow_array = garrow_array_get_raw(array);
1010 const auto arrow_other_array = garrow_array_get_raw(other_array);
1011 if (options) {
1012 const auto arrow_options = garrow_equal_options_get_raw(options);
1013 return arrow_array->RangeEquals(arrow_other_array,
1014 start_index,
1015 end_index,
1016 other_start_index,
1017 *arrow_options);
1018 } else {
1019 return arrow_array->RangeEquals(arrow_other_array,
1020 start_index,
1021 end_index,
1022 other_start_index);
1023 }
1024}
1025
1026/**
1027 * garrow_array_is_null:

Callers

nothing calls this directly

Calls 2

RangeEqualsMethod · 0.80
garrow_array_get_rawFunction · 0.70

Tested by

no test coverage detected