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

Method getNumRows

matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void RecordBatch::getNumRows(libmexclass::proxy::method::Context& context) {
123 namespace mda = ::matlab::data;
124 mda::ArrayFactory factory;
125 const auto num_rows = record_batch->num_rows();
126 auto num_rows_mda = factory.createScalar(num_rows);
127 context.outputs[0] = num_rows_mda;
128}
129
130void RecordBatch::getNumColumns(libmexclass::proxy::method::Context& context) {
131 namespace mda = ::matlab::data;

Callers

nothing calls this directly

Calls 1

num_rowsMethod · 0.45

Tested by

no test coverage detected