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

Method findOperator

bolt/exec/Driver.cpp:1054–1061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054Operator* Driver::findOperator(std::string_view planNodeId) const {
1055 for (auto& op : operators_) {
1056 if (op->planNodeId() == planNodeId) {
1057 return op.get();
1058 }
1059 }
1060 return nullptr;
1061}
1062
1063Operator* Driver::findOperator(int32_t operatorId) const {
1064 BOLT_CHECK_LT(operatorId, operators_.size());

Callers 7

findPeerOperatorsMethod · 0.80
noMoreInputMethod · 0.80
finishHashBuildMethod · 0.80
beginBuildMismatchMethod · 0.80
DEBUG_ONLY_TEST_FFunction · 0.80
DEBUG_ONLY_TEST_PFunction · 0.80
noMoreInputMethod · 0.80

Calls 2

getMethod · 0.45
sizeMethod · 0.45

Tested by 3

DEBUG_ONLY_TEST_FFunction · 0.64
DEBUG_ONLY_TEST_PFunction · 0.64
noMoreInputMethod · 0.64