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

Function garrow_array_get_values_raw

c_glib/arrow-glib/basic-array.cpp:662–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660 static_cast<GArrowArrayPrivate *>(garrow_array_get_instance_private(GARROW_ARRAY(obj)))
661
662G_END_DECLS
663template <typename T>
664const typename T::c_type *
665garrow_array_get_values_raw(std::shared_ptr<arrow::Array> arrow_array, gint64 *length)
666{
667 auto arrow_specific_array =
668 std::static_pointer_cast<typename arrow::TypeTraits<T>::ArrayType>(arrow_array);
669 *length = arrow_specific_array->length();
670 return arrow_specific_array->raw_values();
671};
672G_BEGIN_DECLS
673
674static void

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.45
raw_valuesMethod · 0.45

Tested by

no test coverage detected