MCPcopy Create free account
hub / github.com/apache/arrow / print_record_batch

Function print_record_batch

c_glib/example/receive-network.c:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static void
99print_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
116static gboolean
117service_incoming(GSocketService *service,

Callers 1

service_incomingFunction · 0.70

Tested by

no test coverage detected