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