| 96 | } |
| 97 | |
| 98 | static void |
| 99 | print_record_batch(GArrowRecordBatch *record_batch) |
| 100 | { |
| 101 | guint nth_column, n_columns; |
| 102 | |
| 103 | n_columns = garrow_record_batch_get_n_columns(record_batch); |
| 104 | for (nth_column = 0; nth_column < n_columns; nth_column++) { |
| 105 | GArrowArray *array; |
| 106 | |
| 107 | g_print("columns[%u](%s): ", |
| 108 | nth_column, |
| 109 | garrow_record_batch_get_column_name(record_batch, nth_column)); |
| 110 | array = garrow_record_batch_get_column_data(record_batch, nth_column); |
| 111 | print_array(array); |
| 112 | g_object_unref(array); |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | static gboolean |
| 117 | service_incoming(GSocketService *service, |
no test coverage detected