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

Method GetType

cpp/src/arrow/type.cc:1620–1626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1618
1619 template <typename T>
1620 static const DataType* GetType(const T& input) {
1621 if constexpr (std::is_same_v<T, ArrayData>) {
1622 return input.type.get();
1623 } else {
1624 return input.type().get();
1625 }
1626 }
1627};
1628
1629// 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