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

Method DoGet

cpp/src/arrow/field_ref_test.cc:263–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 protected:
262 template <bool Flattened, typename T>
263 static auto DoGet(const T& root, const FieldPath& path, MemoryPool* pool = nullptr) {
264 if constexpr (Flattened) {
265 return path.GetFlattened(root, pool);
266 } else {
267 return path.Get(root);
268 }
269 }
270
271 template <typename I, bool Flattened = false>
272 void TestGetWithInvalidIndex() const {

Callers

nothing calls this directly

Calls 2

GetFlattenedMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected