* garrow_source_node_options_new_table: * @table: A #GArrowTable. * * Returns: A newly created #GArrowSourceNodeOptions. * * Since: 6.0.0 */
| 1265 | * Since: 6.0.0 |
| 1266 | */ |
| 1267 | GArrowSourceNodeOptions * |
| 1268 | garrow_source_node_options_new_table(GArrowTable *table) |
| 1269 | { |
| 1270 | auto reader = garrow_table_batch_reader_new(table); |
| 1271 | auto options = garrow_source_node_options_new_record_batch_reader( |
| 1272 | GARROW_RECORD_BATCH_READER(reader)); |
| 1273 | g_object_unref(reader); |
| 1274 | return options; |
| 1275 | } |
| 1276 | |
| 1277 | enum { |
| 1278 | PROP_EXPRESSION = 1, |
nothing calls this directly
no test coverage detected