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

Method CompareList

cpp/src/arrow/compare.cc:571–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569
570 template <typename TypeClass>
571 Status CompareList(const TypeClass&) {
572 const ArrayData& left_data = *left_.child_data[0];
573 const ArrayData& right_data = *right_.child_data[0];
574
575 const auto compare_ranges = [&](int64_t left_offset, int64_t right_offset,
576 int64_t length) -> bool {
577 RangeDataEqualsImpl impl(options_, left_data, right_data, left_offset, right_offset,
578 length);
579 return impl.Compare();
580 };
581
582 CompareWithOffsets<typename TypeClass::offset_type>(1, compare_ranges);
583 return Status::OK();
584 }
585
586 template <typename TypeClass>
587 Status CompareListView(const TypeClass& type) {

Callers

nothing calls this directly

Calls 2

OKFunction · 0.70
CompareMethod · 0.45

Tested by

no test coverage detected