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

Function gaflight_stream_chunk_get_metadata

c_glib/arrow-flight-glib/common.cpp:1161–1170  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

1159 * Since: 6.0.0
1160 */
1161GArrowBuffer *
1162gaflight_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
1172typedef struct GAFlightRecordBatchReaderPrivate_
1173{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected