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

Method initGlobalStateInternal

src/processor/operator/scan/scan_rel_table.cpp:127–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void ScanRelTable::initGlobalStateInternal(ExecutionContext* context) {
128 if (!sourceNodeScanMode) {
129 return;
130 }
131 DASSERT(sourceNodeTableInfos.size() == sourceNodeSharedStates.size());
132 for (auto i = 0u; i < sourceNodeTableInfos.size(); ++i) {
133 sourceNodeSharedStates[i]->initialize(
134 transaction::Transaction::Get(*context->clientContext),
135 sourceNodeTableInfos[i].table->ptrCast<NodeTable>(), *sourceNodeProgressSharedState);
136 }
137}
138
139static void initSourceNodeScanState(ScanNodeTableInfo& sourceInfo,
140 std::unique_ptr<TableScanState>& sourceScanState, ValueVector* boundNodeIDVector,

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
initializeMethod · 0.45

Tested by

no test coverage detected