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

Method updateNodeID

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

Source from the content-addressed store, hash-verified

20}
21
22void NodeInsertInfo::updateNodeID(nodeID_t nodeID) const {
23 DASSERT(nodeIDVector->state->getSelVector().getSelSize() == 1);
24 auto pos = nodeIDVector->state->getSelVector()[0];
25 nodeIDVector->setNull(pos, false);
26 nodeIDVector->setValue<nodeID_t>(pos, nodeID);
27}
28
29nodeID_t NodeInsertInfo::getNodeID() const {
30 auto& nodeIDSelVector = nodeIDVector->state->getSelVector();

Callers 2

skipInsertMethod · 0.80
checkConflictMethod · 0.80

Calls 2

getSelSizeMethod · 0.80
setNullMethod · 0.45

Tested by

no test coverage detected