|
102 | 102 | function tf = isequal(obj, varargin)
|
103 | 103 | tf = arrow.tabular.internal.isequal(obj, varargin{:});
|
104 | 104 | end
|
| 105 | + |
| 106 | + function export(obj, cArrowArrayAddress, cArrowSchemaAddress) |
| 107 | + arguments |
| 108 | + obj(1, 1) arrow.tabular.RecordBatch |
| 109 | + cArrowArrayAddress(1, 1) uint64 |
| 110 | + cArrowSchemaAddress(1, 1) uint64 |
| 111 | + end |
| 112 | + args = struct(... |
| 113 | + ArrowArrayAddress=cArrowArrayAddress,... |
| 114 | + ArrowSchemaAddress=cArrowSchemaAddress... |
| 115 | + ); |
| 116 | + obj.Proxy.exportToC(args); |
| 117 | + end |
105 | 118 | end
|
106 | 119 |
|
107 | 120 | methods (Access = private)
|
@@ -142,21 +155,6 @@ function displayScalarObject(obj)
|
142 | 155 | recordBatch = arrow.tabular.RecordBatch(proxy);
|
143 | 156 | end
|
144 | 157 |
|
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 |
157 |
| - end |
158 |
| - |
159 |
| - methods(Static) |
160 | 158 | function recordBatch = import(cArray, cSchema)
|
161 | 159 | arguments
|
162 | 160 | cArray(1, 1) arrow.c.Array
|
|
0 commit comments