Skip to content

Commit 817dcfd

Browse files
committed
Add export method to arrow.tabular.RecordBatch
1 parent 25344e3 commit 817dcfd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

matlab/src/matlab/+arrow/+tabular/RecordBatch.m

+12
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,18 @@ function displayScalarObject(obj)
142142
recordBatch = arrow.tabular.RecordBatch(proxy);
143143
end
144144

145+
function export(obj, cArrowArrayAddress, cArrowSchemaAddress)
146+
arguments
147+
obj(1, 1) arrow.tabular.RecordBatch
148+
cArrowArrayAddress(1, 1) uint64
149+
cArrowSchemaAddress(1, 1) uint64
150+
end
151+
args = struct(...
152+
ArrowArrayAddress=cArrowArrayAddress,...
153+
ArrowSchemaAddress=cArrowSchemaAddress...
154+
);
155+
obj.Proxy.exportToC(args);
156+
end
145157
end
146158

147159
methods(Static)

0 commit comments

Comments
 (0)