| 216 | } |
| 217 | |
| 218 | static compare_function_t getCompareEntryFunc(const LogicalType& type) { |
| 219 | compare_function_t func; |
| 220 | switch (type.getLogicalTypeID()) { |
| 221 | case LogicalTypeID::NODE: { |
| 222 | func = compareNodeEntry; |
| 223 | } break; |
| 224 | case LogicalTypeID::REL: { |
| 225 | func = compareRelEntry; |
| 226 | } break; |
| 227 | default: { |
| 228 | TypeUtils::visit( |
| 229 | type.getPhysicalType(), [&]<HashableTypes T>(T) { func = compareEntry<T>; }, |
| 230 | [](auto) { UNREACHABLE_CODE; }); |
| 231 | } |
| 232 | } |
| 233 | return func; |
| 234 | } |
| 235 | |
| 236 | static ft_compare_function_t getFactorizedTableCompareEntryFunc(const LogicalType& type) { |
| 237 | ft_compare_function_t func; |
no test coverage detected