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

Method getNumFields

matlab/src/cpp/arrow/matlab/tabular/proxy/schema.cc:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void Schema::getNumFields(libmexclass::proxy::method::Context& context) {
114 namespace mda = ::matlab::data;
115 mda::ArrayFactory factory;
116
117 const auto num_fields = schema->num_fields();
118 const auto num_fields_mda = factory.createScalar(num_fields);
119
120 context.outputs[0] = num_fields_mda;
121}
122
123void Schema::getFieldNames(libmexclass::proxy::method::Context& context) {
124 namespace mda = ::matlab::data;

Callers

nothing calls this directly

Calls 1

num_fieldsMethod · 0.45

Tested by

no test coverage detected