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