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

Function GetOne

cpp/src/arrow/type.h:2264–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2262 /// Emit an error if none or multiple match.
2263 template <typename T>
2264 Result<GetType<T>> GetOne(const T& root) const {
2265 ARROW_ASSIGN_OR_RAISE(auto match, FindOne(root));
2266 return match.Get(root).ValueOrDie();
2267 }
2268 /// \brief Get the single child matching this FieldRef.
2269 ///
2270 /// Unlike `FieldRef::GetOne`, this variant is not zero-copy and the retrieved

Callers

nothing calls this directly

Calls 2

ValueOrDieMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected