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

Function GetAllFlattened

cpp/src/arrow/type.h:2251–2259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2249 /// children's null bitmaps are ANDed with their ancestors'
2250 template <typename T>
2251 Result<std::vector<GetType<T>>> GetAllFlattened(const T& root,
2252 MemoryPool* pool = NULLPTR) const {
2253 std::vector<GetType<T>> out;
2254 for (const auto& match : FindAll(root)) {
2255 ARROW_ASSIGN_OR_RAISE(auto child, match.GetFlattened(root, pool));
2256 out.push_back(std::move(child));
2257 }
2258 return out;
2259 }
2260
2261 /// \brief Get the single child matching this FieldRef.
2262 /// Emit an error if none or multiple match.

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected