| 297 | } |
| 298 | |
| 299 | void OnDiskGraphNbrScanState::startScan(RelDataDirection direction) { |
| 300 | auto idx = RelDirectionUtils::relDirectionToKeyIdx(direction); |
| 301 | DASSERT(idx < directedIterators.size() && directedIterators[idx].getDirection() == direction); |
| 302 | currentIter = &directedIterators[idx]; |
| 303 | currentIter->initScan(); |
| 304 | } |
| 305 | |
| 306 | bool OnDiskGraphNbrScanState::next() { |
| 307 | DASSERT(currentIter != nullptr); |
no test coverage detected