* garrow_feather_file_reader_read: * @reader: A #GArrowFeatherFileReader. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (transfer full): The table in the file that has all columns. * * Since: 0.12.0 */
| 814 | * Since: 0.12.0 |
| 815 | */ |
| 816 | GArrowTable * |
| 817 | garrow_feather_file_reader_read(GArrowFeatherFileReader *reader, GError **error) |
| 818 | { |
| 819 | auto arrow_reader = garrow_feather_file_reader_get_raw(reader); |
| 820 | std::shared_ptr<arrow::Table> arrow_table; |
| 821 | auto status = arrow_reader->Read(&arrow_table); |
| 822 | if (garrow_error_check(error, status, "[feather-file-reader][read]")) { |
| 823 | return garrow_table_new_raw(&arrow_table); |
| 824 | } else { |
| 825 | return NULL; |
| 826 | } |
| 827 | } |
| 828 | |
| 829 | /** |
| 830 | * garrow_feather_file_reader_read_indices: |
nothing calls this directly
no test coverage detected