| 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 |
nothing calls this directly
no test coverage detected