| 1013 | // Public factory functions |
| 1014 | |
| 1015 | std::shared_ptr<Comparator> Comparator::Make(Type::type physical_type, |
| 1016 | SortOrder::type sort_order, |
| 1017 | int type_length) { |
| 1018 | return DoMakeComparator(physical_type, LogicalType::Type::NONE, sort_order, |
| 1019 | type_length); |
| 1020 | } |
| 1021 | |
| 1022 | std::shared_ptr<Comparator> Comparator::Make(const ColumnDescriptor* descr) { |
| 1023 | return DoMakeComparator(descr->physical_type(), LogicalTypeId(descr), |
nothing calls this directly
no test coverage detected