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

Method initState

src/storage/table/rel_table.cpp:78–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void RelTableScanState::initState(Transaction* transaction, NodeGroup* nodeGroup,
79 bool resetCachedBoundNodeIDs) {
80 this->nodeGroup = nodeGroup;
81 if (resetCachedBoundNodeIDs) {
82 initCachedBoundNodeIDSelVector();
83 }
84 if (this->nodeGroup) {
85 initStateForCommitted(transaction);
86 } else if (hasUnCommittedData()) {
87 initStateForUncommitted();
88 } else {
89 source = TableScanSource::NONE;
90 }
91}
92
93void RelTableScanState::initCachedBoundNodeIDSelVector() {
94 if (nodeIDVector->state->getSelVector().isUnfiltered()) {

Callers 4

initScanStateMethod · 0.80
initScanStateMethod · 0.80
findMatchingRowMethod · 0.80
checkIfNodeHasRelsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected