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

Function garrow_binary_array_new

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

* garrow_binary_array_new: * @length: The number of elements. * @value_offsets: The value offsets of @data in Arrow format. * @value_data: The binary data in Arrow format of the array. * @null_bitmap: (nullable): The bitmap that shows null elements. The * N-th element is null when the N-th bit is 0, not null otherwise. * If the array has no null elements, the bitmap must be %NULL and *

Source from the content-addressed store, hash-verified

2394 * Since: 0.4.0
2395 */
2396GArrowBinaryArray *
2397garrow_binary_array_new(gint64 length,
2398 GArrowBuffer *value_offsets,
2399 GArrowBuffer *value_data,
2400 GArrowBuffer *null_bitmap,
2401 gint64 n_nulls)
2402{
2403 auto binary_array = garrow_base_binary_array_new<arrow::BinaryArray>(length,
2404 value_offsets,
2405 value_data,
2406 null_bitmap,
2407 n_nulls);
2408 return GARROW_BINARY_ARRAY(binary_array);
2409}
2410
2411/**
2412 * garrow_binary_array_get_value:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected