| 167 | } |
| 168 | |
| 169 | table_id_map_t<offset_t> OnDiskGraph::getMaxOffsetMap(transaction::Transaction* transaction) const { |
| 170 | table_id_map_t<offset_t> result; |
| 171 | for (auto tableID : getNodeTableIDs()) { |
| 172 | result[tableID] = getMaxOffset(transaction, tableID); |
| 173 | } |
| 174 | return result; |
| 175 | } |
| 176 | |
| 177 | offset_t OnDiskGraph::getMaxOffset(transaction::Transaction* transaction, table_id_t id) const { |
| 178 | DASSERT(nodeIDToNodeTable.contains(id)); |
no test coverage detected