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
IOExceptionpublic void close(org.apache.hadoop.mapred.Reporter reporter)
throws IOException
close in interface org.apache.hadoop.mapred.RecordWriter<Void,ParquetHiveRecord>IOExceptionpublic void write(Void key, ParquetHiveRecord value) throws IOException
write in interface org.apache.hadoop.mapred.RecordWriter<Void,ParquetHiveRecord>IOExceptionpublic void close(boolean abort)
throws IOException
close in interface FileSinkOperator.RecordWriterIOExceptionpublic void write(org.apache.hadoop.io.Writable w)
throws IOException
write in interface FileSinkOperator.RecordWriterIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.