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

Function array_as

cpp/src/arrow/datum.h:244–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 /// the type of the stored array
243 template <typename ExactType>
244 std::shared_ptr<ExactType> array_as() const {
245 return internal::checked_pointer_cast<ExactType>(this->make_array());
246 }
247
248 /// \brief Retrieve the datum as its concrete scalar type
249 /// \throws std::bad_variant_access if the datum is not a scalar

Callers

nothing calls this directly

Calls 1

make_arrayMethod · 0.80

Tested by

no test coverage detected