* ggandiva_selection_vector_to_array: * @selection_vector: A #GGandivaSelectionVector. * * Returns: (transfer full): A #GArrowArray that has the same content * of the selection vector. * * Since: 4.0.0 */
| 140 | * Since: 4.0.0 |
| 141 | */ |
| 142 | GArrowArray * |
| 143 | ggandiva_selection_vector_to_array(GGandivaSelectionVector *selection_vector) |
| 144 | { |
| 145 | auto gandiva_selection_vector = ggandiva_selection_vector_get_raw(selection_vector); |
| 146 | auto arrow_array = gandiva_selection_vector->ToArray(); |
| 147 | return garrow_array_new_raw(&arrow_array); |
| 148 | } |
| 149 | |
| 150 | G_DEFINE_TYPE(GGandivaUInt16SelectionVector, |
| 151 | ggandiva_uint16_selection_vector, |
nothing calls this directly
no test coverage detected