| 185 | } |
| 186 | |
| 187 | void SubstraitCall::SetOption(std::string_view option_name, |
| 188 | const std::vector<std::string_view>& option_preferences) { |
| 189 | auto& prefs = options_[std::string(option_name)]; |
| 190 | for (std::string_view pref : option_preferences) { |
| 191 | prefs.emplace_back(pref); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | bool SubstraitCall::HasOptions() const { return !options_.empty(); } |
| 196 |
no test coverage detected