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

Method getNodeID

src/processor/operator/persistent/insert_executor.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29nodeID_t NodeInsertInfo::getNodeID() const {
30 auto& nodeIDSelVector = nodeIDVector->state->getSelVector();
31 DASSERT(nodeIDSelVector.getSelSize() == 1);
32 if (nodeIDVector->isNull(nodeIDSelVector[0])) {
33 return {INVALID_OFFSET, INVALID_TABLE_ID};
34 }
35 return nodeIDVector->getValue<nodeID_t>(nodeIDSelVector[0]);
36}
37
38void NodeTableInsertInfo::init(const ResultSet& resultSet, main::ClientContext* context) {
39 for (auto& evaluator : columnDataEvaluators) {

Callers 7

isNodeSequentialOnPlanFunction · 0.45
isUniqueMethod · 0.45
encodeScanNodeTableMethod · 0.45
estimateScanNodeMethod · 0.45
insertMethod · 0.45
mapNodeLabelFilterMethod · 0.45
mapScanNodeTableMethod · 0.45

Calls 2

getSelSizeMethod · 0.80
isNullMethod · 0.45

Tested by

no test coverage detected