| 178 | } |
| 179 | |
| 180 | std::optional<const std::vector<std::string>*> SubstraitCall::GetOption( |
| 181 | std::string_view option_name) const { |
| 182 | auto opt = options_.find(std::string(option_name)); |
| 183 | if (opt == options_.end()) { |
| 184 | return std::nullopt; |
| 185 | } |
| 186 | return &opt->second; |
| 187 | } |
| 188 | |
| 189 | void SubstraitCall::SetOption(std::string_view option_name, |
| 190 | const std::vector<std::string_view>& option_preferences) { |
no test coverage detected