| 1052 | } |
| 1053 | |
| 1054 | Operator* 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 | |
| 1063 | Operator* Driver::findOperator(int32_t operatorId) const { |
| 1064 | BOLT_CHECK_LT(operatorId, operators_.size()); |