| 26 | } |
| 27 | |
| 28 | LocalRelTable::LocalRelTable(const catalog::TableCatalogEntry* tableEntry, const Table& table, |
| 29 | MemoryManager& mm) |
| 30 | : LocalTable{table} { |
| 31 | localNodeGroup = std::make_unique<NodeGroup>(mm, 0, false, |
| 32 | getTypesForLocalRelTable(*tableEntry), INVALID_ROW_IDX); |
| 33 | const auto& relTable = table.cast<RelTable>(); |
| 34 | for (auto relDirection : relTable.getStorageDirections()) { |
| 35 | directedIndices.emplace_back(relDirection); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | bool LocalRelTable::insert(Transaction*, TableInsertState& state) { |
| 40 | const auto& insertState = state.cast<RelTableInsertState>(); |
nothing calls this directly
no test coverage detected