MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / startScan

Method startScan

src/graph/on_disk_graph.cpp:299–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299void 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
306bool OnDiskGraphNbrScanState::next() {
307 DASSERT(currentIter != nullptr);

Callers 3

scanFwdMethod · 0.80
scanBwdMethod · 0.80
scanVerticesMethod · 0.80

Calls 6

initScanMethod · 0.80
setToUnfilteredMethod · 0.80
sizeMethod · 0.45
getDirectionMethod · 0.45
resetAuxiliaryBufferMethod · 0.45
initScanStateMethod · 0.45

Tested by

no test coverage detected