Method
file_to_stream
(self, file_path, stream_path)
Source from the content-addressed store, hash-verified
| 289 | run_cmd(cmd) |
| 290 | |
| 291 | def file_to_stream(self, file_path, stream_path): |
| 292 | cmd = ( |
| 293 | ['java'] + self._java_opts + [ |
| 294 | '-cp', |
| 295 | _ARROW_TOOLS_JAR, |
| 296 | 'org.apache.arrow.tools.FileToStream', |
| 297 | file_path, |
| 298 | stream_path, |
| 299 | ] |
| 300 | ) |
| 301 | if self.debug: |
| 302 | log(' '.join(cmd)) |
| 303 | run_cmd(cmd) |
| 304 | |
| 305 | def flight_request(self, port, json_path=None, scenario_name=None): |
| 306 | cmd = ( |
Callers
nothing calls this directly
Tested by
no test coverage detected