| 65 | } |
| 66 | |
| 67 | static bool isRelTableQualifies(ExtendDirection direction, table_id_t srcTableID, |
| 68 | table_id_t dstTableID, table_id_t boundNodeTableID, const table_id_set_t& nbrTableISet) { |
| 69 | switch (direction) { |
| 70 | case ExtendDirection::FWD: { |
| 71 | return srcTableID == boundNodeTableID && nbrTableISet.contains(dstTableID); |
| 72 | } |
| 73 | case ExtendDirection::BWD: { |
| 74 | return dstTableID == boundNodeTableID && nbrTableISet.contains(srcTableID); |
| 75 | } |
| 76 | default: |
| 77 | UNREACHABLE_CODE; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | static std::vector<ScanRelTableInfo> populateRelTableCollectionScanner(table_id_t boundNodeTableID, |
| 82 | const table_id_set_t& nbrTableISet, const RelGroupCatalogEntry& entry, |
no test coverage detected