Skip to content

Commit

Permalink
Add export method to arrow.tabular.RecordBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 24, 2024
1 parent 25344e3 commit 817dcfd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions matlab/src/matlab/+arrow/+tabular/RecordBatch.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ function displayScalarObject(obj)
recordBatch = arrow.tabular.RecordBatch(proxy);
end

function export(obj, cArrowArrayAddress, cArrowSchemaAddress)
arguments
obj(1, 1) arrow.tabular.RecordBatch
cArrowArrayAddress(1, 1) uint64
cArrowSchemaAddress(1, 1) uint64
end
args = struct(...
ArrowArrayAddress=cArrowArrayAddress,...
ArrowSchemaAddress=cArrowSchemaAddress...
);
obj.Proxy.exportToC(args);
end
end

methods(Static)
Expand Down

0 comments on commit 817dcfd

Please sign in to comment.