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

Function garrow_json_reader_read

c_glib/arrow-glib/reader.cpp:2292–2302  ·  view source on GitHub ↗

* garrow_json_reader_read: * @reader: A #GArrowJSONReader. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (nullable) (transfer full): A read #GArrowTable or %NULL on error. * * Since: 0.14.0 */

Source from the content-addressed store, hash-verified

2290 * Since: 0.14.0
2291 */
2292GArrowTable *
2293garrow_json_reader_read(GArrowJSONReader *reader, GError **error)
2294{
2295 auto arrow_reader = garrow_json_reader_get_raw(reader);
2296 auto arrow_table = arrow_reader->Read();
2297 if (garrow::check(error, arrow_table, "[json-reader][read]")) {
2298 return garrow_table_new_raw(&(arrow_table.ValueOrDie()));
2299 } else {
2300 return NULL;
2301 }
2302}
2303
2304G_END_DECLS
2305

Callers

nothing calls this directly

Calls 4

ValueOrDieMethod · 0.80
checkFunction · 0.70
ReadMethod · 0.45

Tested by

no test coverage detected