Class FileToStream

java.lang.Object
org.apache.arrow.tools.FileToStream

public class FileToStream extends Object
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 Details

    • convert

      public static void convert(FileInputStream in, OutputStream out) throws IOException
      Reads an Arrow file from in and writes it back to out.
      Throws:
      IOException
    • main

      public static void main(String[] args) throws IOException
      Main method. The first arg is the file path. The second, optional argument, is an output file location (defaults to standard out).
      Throws:
      IOException