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

Method initGlobalStateInternal

src/processor/operator/scan/scan_node_table.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void ScanNodeTable::initGlobalStateInternal(ExecutionContext* context) {
161 DASSERT(sharedStates.size() == tableInfos.size());
162 for (auto i = 0u; i < tableInfos.size(); i++) {
163 sharedStates[i]->initialize(transaction::Transaction::Get(*context->clientContext),
164 tableInfos[i].table->ptrCast<NodeTable>(), *progressSharedState);
165 }
166}
167
168bool ScanNodeTable::getNextTuplesInternal(ExecutionContext* context) {
169 const auto transaction = transaction::Transaction::Get(*context->clientContext);

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
initializeMethod · 0.45

Tested by

no test coverage detected