| 33 | namespace bytedance::bolt::exec { |
| 34 | |
| 35 | void NestedLoopJoinBridge::setData(std::vector<RowVectorPtr> buildVectors) { |
| 36 | std::vector<ContinuePromise> promises; |
| 37 | { |
| 38 | std::lock_guard<std::mutex> l(mutex_); |
| 39 | BOLT_CHECK(!buildVectors_.has_value(), "setData must be called only once"); |
| 40 | buildVectors_ = std::move(buildVectors); |
| 41 | promises = std::move(promises_); |
| 42 | } |
| 43 | notify(std::move(promises)); |
| 44 | } |
| 45 | |
| 46 | std::optional<std::vector<RowVectorPtr>> NestedLoopJoinBridge::dataOrFuture( |
| 47 | ContinueFuture* future) { |
no test coverage detected