| 1045 | // Public factory functions |
| 1046 | |
| 1047 | std::shared_ptr<Comparator> Comparator::Make(Type::type physical_type, |
| 1048 | SortOrder::type sort_order, |
| 1049 | int type_length) { |
| 1050 | return DoMakeComparator(physical_type, LogicalType::Type::NONE, sort_order, |
| 1051 | type_length); |
| 1052 | } |
| 1053 | |
| 1054 | std::shared_ptr<Comparator> Comparator::Make(const ColumnDescriptor* descr) { |
| 1055 | return DoMakeComparator(descr->physical_type(), LogicalTypeId(descr), |
nothing calls this directly
no test coverage detected