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

Function garrow_timestamp_array_get_values

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

* garrow_timestamp_array_get_values: * @array: A #GArrowTimestampArray. * @length: (out): The number of values. * * Returns: (array length=length): The raw values. * * Since: 0.7.0 */

Source from the content-addressed store, hash-verified

3048 * Since: 0.7.0
3049 */
3050const gint64 *
3051garrow_timestamp_array_get_values(GArrowTimestampArray *array, gint64 *length)
3052{
3053 auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array));
3054 auto values = garrow_array_get_values_raw<arrow::TimestampType>(arrow_array, length);
3055 return reinterpret_cast<const gint64 *>(values);
3056}
3057
3058G_DEFINE_TYPE(GArrowTime32Array, garrow_time32_array, GARROW_TYPE_NUMERIC_ARRAY)
3059

Callers

nothing calls this directly

Calls 1

garrow_array_get_rawFunction · 0.70

Tested by

no test coverage detected