* garrow_boolean_array_new: * @length: The number of elements. * @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 * @n_nulls is 0. * @n_nulls: The number of null elements. If -1 is
| 1501 | * Since: 0.4.0 |
| 1502 | */ |
| 1503 | GArrowBooleanArray * |
| 1504 | garrow_boolean_array_new(gint64 length, |
| 1505 | GArrowBuffer *data, |
| 1506 | GArrowBuffer *null_bitmap, |
| 1507 | gint64 n_nulls) |
| 1508 | { |
| 1509 | auto array = |
| 1510 | garrow_primitive_array_new<arrow::BooleanType>(length, data, null_bitmap, n_nulls); |
| 1511 | return GARROW_BOOLEAN_ARRAY(array); |
| 1512 | } |
| 1513 | |
| 1514 | /** |
| 1515 | * garrow_boolean_array_get_value: |
nothing calls this directly
no outgoing calls
no test coverage detected