Package org.apache.arrow.tools
Class FileToStream
java.lang.Object
org.apache.arrow.tools.FileToStream
Converts an Arrow file to an Arrow stream. The file should be specified as the first argument and
the output is written to standard out.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convert
(FileInputStream in, OutputStream out) Reads an Arrow file from in and writes it back to out.static void
Main method.
-
Method Details
-
convert
Reads an Arrow file from in and writes it back to out.- Throws:
IOException
-
main
Main method. The first arg is the file path. The second, optional argument, is an output file location (defaults to standard out).- Throws:
IOException
-