| 84 | } |
| 85 | |
| 86 | Status BlockingPlanRootSink::FlushFinal(RuntimeState* state) { |
| 87 | SCOPED_TIMER(profile()->total_time_counter()); |
| 88 | unique_lock<mutex> l(lock_); |
| 89 | sender_state_ = SenderState::EOS; |
| 90 | // All rows have been sent by the producer, so wake up the producer so it can set eos to |
| 91 | // true. |
| 92 | consumer_cv_.NotifyAll(); |
| 93 | return Status::OK(); |
| 94 | } |
| 95 | |
| 96 | void BlockingPlanRootSink::Close(RuntimeState* state) { |
| 97 | SCOPED_TIMER(profile()->total_time_counter()); |
nothing calls this directly
no test coverage detected