We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67b4f8a commit c292994Copy full SHA for c292994
matlab/src/matlab/+arrow/+io/+ipc/RecordBatchFileReader.m
@@ -43,10 +43,22 @@
43
44
function schema = get.Schema(obj)
45
proxyID = obj.Proxy.getSchema();
46
- proxy = libmexclass.proxy.Proxy(ID=proxyID, Name="arrow.tabular.proxy.Schema");
+ proxyName = "arrow.tabular.proxy.Schema";
47
+ proxy = libmexclass.proxy.Proxy(ID=proxyID, Name=proxyName);
48
schema = arrow.tabular.Schema(proxy);
49
end
- end
50
51
+ function rb = read(obj, index)
52
+ arguments
53
+ obj(1, 1) arrow.io.ipc.RecordBatchFileReader
54
+ index(1, 1) int32
55
+ end
56
57
+ args = struct(Index=index);
58
+ proxyID = obj.Proxy.readRecordBatchAtIndex(args);
59
+ proxyName = "arrow.tabular.proxy.RecordBatch";
60
61
+ rb = arrow.tabular.RecordBatch(proxy);
62
63
64
0 commit comments