public class ParquetRecordWriterWrapper extends Object implements org.apache.hadoop.mapred.RecordWriter<Void,ParquetHiveRecord>, FileSinkOperator.RecordWriter
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
ParquetRecordWriterWrapper(org.apache.hadoop.mapreduce.OutputFormat<Void,ParquetHiveRecord> realOutputFormat,
org.apache.hadoop.mapred.JobConf jobConf,
String name,
org.apache.hadoop.util.Progressable progress,
Properties tableProperties) |
public ParquetRecordWriterWrapper(org.apache.hadoop.mapreduce.OutputFormat<Void,ParquetHiveRecord> realOutputFormat, org.apache.hadoop.mapred.JobConf jobConf, String name, org.apache.hadoop.util.Progressable progress, Properties tableProperties) throws IOException
IOException
public void close(org.apache.hadoop.mapred.Reporter reporter) throws IOException
close
in interface org.apache.hadoop.mapred.RecordWriter<Void,ParquetHiveRecord>
IOException
public void write(Void key, ParquetHiveRecord value) throws IOException
write
in interface org.apache.hadoop.mapred.RecordWriter<Void,ParquetHiveRecord>
IOException
public void close(boolean abort) throws IOException
close
in interface FileSinkOperator.RecordWriter
IOException
public void write(org.apache.hadoop.io.Writable w) throws IOException
write
in interface FileSinkOperator.RecordWriter
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.