| 343 | } |
| 344 | |
| 345 | static Result<std::unique_ptr<ValueComparator>> Create(const DataType& type, |
| 346 | const Array& base, |
| 347 | const Array& target) { |
| 348 | ValueComparatorFactory self; |
| 349 | RETURN_NOT_OK(VisitTypeInline(type, &self, base, target)); |
| 350 | return std::move(self.comparator_); |
| 351 | } |
| 352 | }; |
| 353 | |
| 354 | // represents an intermediate state in the comparison of two arrays |
nothing calls this directly
no test coverage detected