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

Method getNextTuplesInternal

src/processor/operator/semi_masker.cpp:86–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool SingleTableSemiMasker::getNextTuplesInternal(ExecutionContext* context) {
87 if (!children[0]->getNextTuple(context)) {
88 return false;
89 }
90 auto& selVector = keyVector->state->getSelVector();
91 for (auto i = 0u; i < selVector.getSelSize(); i++) {
92 auto pos = selVector[i];
93 auto nodeID = keyVector->getValue<nodeID_t>(pos);
94 localState->maskSingleTable(nodeID.offset);
95 }
96 metrics->numOutputTuple.increase(selVector.getSelSize());
97 return true;
98}
99
100bool MultiTableSemiMasker::getNextTuplesInternal(ExecutionContext* context) {
101 if (!children[0]->getNextTuple(context)) {

Callers

nothing calls this directly

Calls 6

getNextTupleMethod · 0.80
getSelSizeMethod · 0.80
maskSingleTableMethod · 0.80
maskMultiTableMethod · 0.80
getDataVectorFunction · 0.50
increaseMethod · 0.45

Tested by

no test coverage detected