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

Function garrow_schema_n_fields

c_glib/arrow-glib/schema.cpp:269–274  ·  view source on GitHub ↗

* garrow_schema_n_fields: * @schema: A #GArrowSchema. * * Returns: The number of fields of the schema. */

Source from the content-addressed store, hash-verified

267 * Returns: The number of fields of the schema.
268 */
269guint
270garrow_schema_n_fields(GArrowSchema *schema)
271{
272 const auto arrow_schema = garrow_schema_get_raw(schema);
273 return arrow_schema->num_fields();
274}
275
276/**
277 * garrow_schema_get_fields:

Callers

nothing calls this directly

Calls 2

garrow_schema_get_rawFunction · 0.85
num_fieldsMethod · 0.45

Tested by

no test coverage detected