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

Method DoGetOneOrNone

cpp/src/arrow/field_ref_test.cc:343–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 }
342 template <bool Flattened, typename T>
343 static auto DoGetOneOrNone(const T& root, const FieldRef& ref,
344 MemoryPool* pool = nullptr) {
345 if constexpr (Flattened) {
346 return ref.GetOneOrNoneFlattened(root, pool);
347 } else {
348 return ref.GetOneOrNone(root);
349 }
350 }
351 template <bool Flattened, typename T>
352 static auto DoGetAll(const T& root, const FieldRef& ref, MemoryPool* pool = nullptr) {
353 if constexpr (Flattened) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected