| 2292 | /// retrieved child's null bitmap is ANDed with its ancestors' |
| 2293 | template <typename T> |
| 2294 | Result<GetType<T>> GetOneOrNoneFlattened(const T& root, |
| 2295 | MemoryPool* pool = NULLPTR) const { |
| 2296 | ARROW_ASSIGN_OR_RAISE(auto match, FindOneOrNone(root)); |
| 2297 | if (match.empty()) { |
| 2298 | return static_cast<GetType<T>>(NULLPTR); |
| 2299 | } |
| 2300 | return match.GetFlattened(root, pool); |
| 2301 | } |
| 2302 | |
| 2303 | private: |
| 2304 | void Flatten(std::vector<FieldRef> children); |
nothing calls this directly
no test coverage detected