| 77 | } |
| 78 | |
| 79 | void SortLocalState::finalize(lbug::processor::SortSharedState& sharedState) { |
| 80 | for (auto& keyBlock : orderByKeyEncoder->getKeyBlocks()) { |
| 81 | if (keyBlock->numTuples > 0) { |
| 82 | radixSorter->sortSingleKeyBlock(*keyBlock); |
| 83 | sharedState.appendLocalSortedKeyBlock( |
| 84 | make_shared<MergedKeyBlocks>(orderByKeyEncoder->getNumBytesPerTuple(), keyBlock)); |
| 85 | } |
| 86 | } |
| 87 | orderByKeyEncoder->clear(); |
| 88 | } |
| 89 | |
| 90 | PayloadScanner::PayloadScanner(MergedKeyBlocks* keyBlockToScan, |
| 91 | std::vector<FactorizedTable*> payloadTables, uint64_t skipNumber, uint64_t limitNumber) |
nothing calls this directly
no test coverage detected