| 120 | } |
| 121 | |
| 122 | void 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 | |
| 130 | void RecordBatch::getNumColumns(libmexclass::proxy::method::Context& context) { |
| 131 | namespace mda = ::matlab::data; |