| 775 | } |
| 776 | |
| 777 | Status TopNNode::Heap::RematerializeTuples(TopNNode* node, |
| 778 | RuntimeState* state, MemPool* new_pool) { |
| 779 | RETURN_IF_ERROR(RematerializeTuplesHelper( |
| 780 | node, state, new_pool, priority_queue_.Begin(), priority_queue_.End())); |
| 781 | RETURN_IF_ERROR(RematerializeTuplesHelper( |
| 782 | node, state, new_pool, overflowed_ties_.begin(), overflowed_ties_.end())); |
| 783 | return Status::OK(); |
| 784 | } |
| 785 | |
| 786 | template class impala::PriorityQueue<Tuple*, TupleRowComparator>; |
| 787 | template class impala::PriorityQueueIterator<Tuple*, TupleRowComparator>; |