Class DelimitedDataFrameWriter

  • All Implemented Interfaces:
    DataFrameWriter

    public class DelimitedDataFrameWriter
    extends java.lang.Object
    implements DataFrameWriter
    Created by luc on 02/04/16.
    • Constructor Summary

      Constructors 
      Constructor Description
      DelimitedDataFrameWriter​(java.lang.StringBuilder writer, int columnCount, java.lang.String delimiter, java.lang.String newLine)  
    • Constructor Detail

      • DelimitedDataFrameWriter

        public DelimitedDataFrameWriter​(java.lang.StringBuilder writer,
                                        int columnCount,
                                        java.lang.String delimiter,
                                        java.lang.String newLine)
    • Method Detail

      • start

        public void start()
                   throws java.io.IOException
        Specified by:
        start in interface DataFrameWriter
        Throws:
        java.io.IOException
      • setTimeZone

        @GwtIncompatible
        public void setTimeZone​(java.util.TimeZone timeZone)
        Specified by:
        setTimeZone in interface DataFrameWriter
      • writeColumnName

        public void writeColumnName​(java.lang.String value,
                                    boolean hasMore)
                             throws java.io.IOException
        Specified by:
        writeColumnName in interface DataFrameWriter
        Throws:
        java.io.IOException
      • writeType

        public void writeType​(java.lang.Class cl,
                              boolean hasMore)
                       throws java.io.IOException
        Specified by:
        writeType in interface DataFrameWriter
        Throws:
        java.io.IOException
      • writeCell

        public void writeCell​(java.lang.Object value,
                              DataFrame dataFrame,
                              java.lang.Object rowKey,
                              java.lang.Object columnKey)
                       throws java.io.IOException
        Specified by:
        writeCell in interface DataFrameWriter
        Throws:
        java.io.IOException
      • numberToString

        public static java.lang.String numberToString​(java.lang.Number value)
      • nextColumn

        public void nextColumn​(boolean hasMore)
                        throws java.io.IOException
        Specified by:
        nextColumn in interface DataFrameWriter
        Throws:
        java.io.IOException
      • nextRow

        public void nextRow()
                     throws java.io.IOException
        Specified by:
        nextRow in interface DataFrameWriter
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface DataFrameWriter
        Throws:
        java.io.IOException