public class Rot13OutputFormat extends HiveIgnoreKeyTextOutputFormat<LongWritable,Text>
HiveIgnoreKeyTextOutputFormat.IgnoreKeyWriter<K extends WritableComparable,V extends Writable>| Constructor and Description |
|---|
Rot13OutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
FileSinkOperator.RecordWriter |
getHiveRecordWriter(JobConf jc,
Path outPath,
java.lang.Class<? extends Writable> valueClass,
boolean isCompressed,
java.util.Properties tableProperties,
Progressable progress)
create the final out file, and output row by row.
|
getRecordWriterpublic FileSinkOperator.RecordWriter getHiveRecordWriter(JobConf jc, Path outPath, java.lang.Class<? extends Writable> valueClass, boolean isCompressed, java.util.Properties tableProperties, Progressable progress) throws java.io.IOException
HiveIgnoreKeyTextOutputFormatgetHiveRecordWriter in interface HiveOutputFormat<LongWritable,Text>getHiveRecordWriter in class HiveIgnoreKeyTextOutputFormat<LongWritable,Text>jc - the job configuration fileoutPath - the final output file to be createdvalueClass - the value class used for createisCompressed - whether the content is compressed or nottableProperties - the tableProperties of this file's corresponding tableprogress - progress used for status reportjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation