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

Method toString

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

Source from the content-addressed store, hash-verified

73std::shared_ptr<arrow::Table> Table::unwrap() { return table; }
74
75void Table::toString(libmexclass::proxy::method::Context& context) {
76 MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto utf16_string,
77 arrow::util::UTF8StringToUTF16(table->ToString()),
78 context, error::UNICODE_CONVERSION_ERROR_ID);
79 mda::ArrayFactory factory;
80 auto str_mda = factory.createScalar(utf16_string);
81 context.outputs[0] = str_mda;
82}
83
84namespace {
85libmexclass::proxy::MakeResult from_arrays(const mda::StructArray& opts) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected