| 42 | } |
| 43 | |
| 44 | void HashJoinBridge::addBuilder() { |
| 45 | std::lock_guard<std::mutex> l(mutex_); |
| 46 | |
| 47 | // In morsel-driven mode, then it is possible to add more builders after the |
| 48 | // hashbridge is started when the task is initiated. |
| 49 | if (!isMorselDriven_) { |
| 50 | BOLT_CHECK(!started_); |
| 51 | } |
| 52 | ++numBuilders_; |
| 53 | } |
| 54 | |
| 55 | bool HashJoinBridge::setHashTable( |
| 56 | std::shared_ptr<BaseHashTable> table, |