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:661–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.45
raw_valuesMethod · 0.45

Tested by

no test coverage detected