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

Method GetType

cpp/src/arrow/type.cc:1623–1629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621
1622 template <typename T>
1623 static const DataType* GetType(const T& input) {
1624 if constexpr (std::is_same_v<T, ArrayData>) {
1625 return input.type.get();
1626 } else {
1627 return input.type().get();
1628 }
1629 }
1630};
1631
1632// Utility class for retrieving a child field/column from a top-level Field, Array,

Calls 2

getMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected