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

Method SetOption

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

Source from the content-addressed store, hash-verified

187}
188
189void 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
197bool SubstraitCall::HasOptions() const { return !options_.empty(); }
198

Callers 3

DecodeOptionFunction · 0.80
EncodeMatchSubstringFunction · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected