Class AvroRecordWriter

    • Constructor Detail

      • AvroRecordWriter

        public AvroRecordWriter​(org.apache.hadoop.fs.Path path,
                                org.apache.hadoop.mapred.JobConf jobConf,
                                boolean isCompressed,
                                Properties properties)
                         throws IOException
        Throws:
        IOException
    • Method Detail

      • write

        public void write​(org.apache.hadoop.io.Writable writable)
                   throws IOException
        Specified by:
        write in interface org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter
        Throws:
        IOException
      • close

        public void close​(boolean abort)
                   throws IOException
        Specified by:
        close in interface org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter
        Throws:
        IOException