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

Method executeInternal

src/processor/operator/result_collector.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void ResultCollector::executeInternal(ExecutionContext* context) {
47 while (children[0]->getNextTuple(context)) {
48 if (!payloadVectors.empty()) {
49 for (auto i = 0u; i < resultSet->multiplicity; i++) {
50 localTable->append(payloadAndMarkVectors);
51 }
52 }
53 }
54 if (!payloadVectors.empty()) {
55 metrics->numOutputTuple.increase(localTable->getTotalNumFlatTuples());
56 sharedState->mergeLocalTable(*localTable);
57 }
58}
59
60void ResultCollector::finalizeInternal(ExecutionContext* context) {
61 switch (info.accumulateType) {

Callers

nothing calls this directly

Calls 6

getNextTupleMethod · 0.80
getTotalNumFlatTuplesMethod · 0.80
mergeLocalTableMethod · 0.80
emptyMethod · 0.45
appendMethod · 0.45
increaseMethod · 0.45

Tested by

no test coverage detected