File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
matlab/src/matlab/+arrow/+io/+ipc Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
22
Proxy
23
23
end
24
24
25
+ properties (SetAccess = private , GetAccess = public )
26
+ Filename (1 , 1 ) string
27
+ end
28
+
25
29
methods
26
30
function obj = RecordBatchFileWriter(filename , schema )
27
31
arguments
28
32
filename (1 , 1 ) string {mustBeNonzeroLengthText }
29
33
schema (1 , 1 ) arrow.tabular.Schema
30
34
end
31
- args = struct(Filename = filename , SchemaProxyID= schema .Proxy .ID );
35
+ obj.Filename = filename ;
36
+ args = struct(Filename = obj .Filename , SchemaProxyID= schema .Proxy .ID );
32
37
obj.Proxy = arrow .internal .proxy .create(" arrow.io.ipc.proxy.RecordBatchFileWriter" , args );
33
38
end
34
39
@@ -40,5 +45,7 @@ function write(obj, recordBatch)
40
45
args = struct(RecordBatchProxyID = recordBatch .Proxy .ID );
41
46
obj .Proxy .writeBatch(args );
42
47
end
48
+
43
49
end
50
+
44
51
end
You can’t perform that action at this time.
0 commit comments