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

Method initScanState

src/storage/table/node_table.cpp:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79std::unique_ptr<NodeTableScanState> IndexScanHelper::initScanState(const Transaction* transaction,
80 DataChunk& dataChunk) {
81 std::vector<ValueVector*> outVectors;
82 for (auto& vector : dataChunk.valueVectors) {
83 outVectors.push_back(vector.get());
84 }
85 auto scanState = std::make_unique<NodeTableScanState>(nullptr, outVectors, dataChunk.state);
86 scanState->setToTable(transaction, table, index->getIndexInfo().columnIDs, {});
87 return scanState;
88}
89
90namespace {
91

Callers 1

scanIndexColumnsMethod · 0.45

Calls 8

setStateMethod · 0.80
getLocalTableMethod · 0.80
initStateMethod · 0.80
isUnCommittedMethod · 0.80
push_backMethod · 0.45
getMethod · 0.45
setToTableMethod · 0.45
getNodeGroupMethod · 0.45

Tested by

no test coverage detected