| 44 | } |
| 45 | |
| 46 | void 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 | |
| 60 | void ResultCollector::finalizeInternal(ExecutionContext* context) { |
| 61 | switch (info.accumulateType) { |
nothing calls this directly
no test coverage detected