MCPcopy Create free account
hub / github.com/bytedance/bolt / setData

Method setData

bolt/exec/NestedLoopJoinBuild.cpp:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace bytedance::bolt::exec {
34
35void 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
46std::optional<std::vector<RowVectorPtr>> NestedLoopJoinBridge::dataOrFuture(
47 ContinueFuture* future) {

Callers 2

copyStringToLocalMethod · 0.45
noMoreInputMethod · 0.45

Calls 2

notifyFunction · 0.85
has_valueMethod · 0.80

Tested by

no test coverage detected