Package gorsat.spark

Class GorOutputWriter


  • public class GorOutputWriter
    extends org.apache.spark.sql.execution.datasources.OutputWriter
    • Constructor Summary

      Constructors 
      Constructor Description
      GorOutputWriter​(java.lang.String uristr, org.apache.spark.sql.types.StructType schema, java.lang.String originalPath)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.String path()  
      void write​(org.apache.spark.sql.catalyst.InternalRow row)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GorOutputWriter

        public GorOutputWriter​(java.lang.String uristr,
                               org.apache.spark.sql.types.StructType schema,
                               java.lang.String originalPath)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • write

        public void write​(org.apache.spark.sql.catalyst.InternalRow row)
        Specified by:
        write in class org.apache.spark.sql.execution.datasources.OutputWriter
      • close

        public void close()
        Specified by:
        close in class org.apache.spark.sql.execution.datasources.OutputWriter
      • path

        public java.lang.String path()
        Specified by:
        path in class org.apache.spark.sql.execution.datasources.OutputWriter