MCPcopy Create free account
hub / github.com/apache/arrow / SetOption

Method SetOption

cpp/src/arrow/engine/substrait/extension_set.cc:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void 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
195bool SubstraitCall::HasOptions() const { return !options_.empty(); }
196

Callers 2

DecodeOptionFunction · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected