Class StreamToFile

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

public class StreamToFile extends Object
Converts an Arrow stream to an Arrow file.
  • Constructor Details

    • StreamToFile

      public StreamToFile()
  • Method Details

    • convert

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

      public static void main(String[] args) throws IOException
      Main method. Defaults to reading from standard in and standard out. If there are two arguments the first is interpreted as the input file path, the second is the output file path.
      Throws:
      IOException