* gaflight_stream_chunk_get_metadata: * @chunk: A #GAFlightStreamChunk. * * Returns: (nullable) (transfer full): The metadata of the chunk. * * The metadata may be NULL. * * Since: 6.0.0 */
| 1159 | * Since: 6.0.0 |
| 1160 | */ |
| 1161 | GArrowBuffer * |
| 1162 | gaflight_stream_chunk_get_metadata(GAFlightStreamChunk *chunk) |
| 1163 | { |
| 1164 | auto flight_chunk = gaflight_stream_chunk_get_raw(chunk); |
| 1165 | if (flight_chunk->app_metadata) { |
| 1166 | return garrow_buffer_new_raw(&(flight_chunk->app_metadata)); |
| 1167 | } else { |
| 1168 | return NULL; |
| 1169 | } |
| 1170 | } |
| 1171 | |
| 1172 | typedef struct GAFlightRecordBatchReaderPrivate_ |
| 1173 | { |
nothing calls this directly
no test coverage detected