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

Method getNumColumns

matlab/src/cpp/arrow/matlab/tabular/proxy/table.cc:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void Table::getNumColumns(libmexclass::proxy::method::Context& context) {
187 namespace mda = ::matlab::data;
188 mda::ArrayFactory factory;
189 const auto num_columns = table->num_columns();
190 auto num_columns_mda = factory.createScalar(num_columns);
191 context.outputs[0] = num_columns_mda;
192}
193
194void Table::getColumnNames(libmexclass::proxy::method::Context& context) {
195 namespace mda = ::matlab::data;

Callers

nothing calls this directly

Calls 1

num_columnsMethod · 0.45

Tested by

no test coverage detected