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

Method DoGetOne

cpp/src/arrow/field_ref_test.cc:335–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333 protected:
334 template <bool Flattened, typename T>
335 static auto DoGetOne(const T& root, const FieldRef& ref, MemoryPool* pool = nullptr) {
336 if constexpr (Flattened) {
337 return ref.GetOneFlattened(root, pool);
338 } else {
339 return ref.GetOne(root);
340 }
341 }
342 template <bool Flattened, typename T>
343 static auto DoGetOneOrNone(const T& root, const FieldRef& ref,
344 MemoryPool* pool = nullptr) {

Callers

nothing calls this directly

Calls 1

GetOneMethod · 0.80

Tested by

no test coverage detected