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

Function writeSrcDstNodeIDs

src/processor/operator/path_property_probe.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static void writeSrcDstNodeIDs(nodeID_t fromID, nodeID_t toID, ValueVector* directionDataVector,
87 ValueVector* srcNodeIDsDataVector, ValueVector* dstNodeIDsDataVector, sel_t pos, bool flag) {
88 if (isCorrectOrder(directionDataVector, pos, flag)) {
89 srcNodeIDsDataVector->setValue(pos, fromID);
90 dstNodeIDsDataVector->setValue(pos, toID);
91 } else {
92 srcNodeIDsDataVector->setValue(pos, toID);
93 dstNodeIDsDataVector->setValue(pos, fromID);
94 }
95}
96
97bool PathPropertyProbe::getNextTuplesInternal(ExecutionContext* context) {
98 if (!children[0]->getNextTuple(context)) {

Callers 1

getNextTuplesInternalMethod · 0.85

Calls 2

isCorrectOrderFunction · 0.85
setValueMethod · 0.45

Tested by

no test coverage detected