public static class PTFRowContainer.PTFHiveSequenceFileOutputFormat<K,V> extends HiveSequenceFileOutputFormat<K,V>
Constructor and Description |
---|
PTFRowContainer.PTFHiveSequenceFileOutputFormat() |
Modifier and Type | Method and Description |
---|---|
FileSinkOperator.RecordWriter |
getHiveRecordWriter(org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.fs.Path finalOutPath,
Class<? extends org.apache.hadoop.io.Writable> valueClass,
boolean isCompressed,
Properties tableProperties,
org.apache.hadoop.util.Progressable progress)
create the final out file, and output an empty key as the key.
|
getOutputCompressionType, getReaders, getRecordWriter, setOutputCompressionType
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPath
public PTFRowContainer.PTFHiveSequenceFileOutputFormat()
public FileSinkOperator.RecordWriter getHiveRecordWriter(org.apache.hadoop.mapred.JobConf jc, org.apache.hadoop.fs.Path finalOutPath, Class<? extends org.apache.hadoop.io.Writable> valueClass, boolean isCompressed, Properties tableProperties, org.apache.hadoop.util.Progressable progress) throws IOException
HiveSequenceFileOutputFormat
getHiveRecordWriter
in interface HiveOutputFormat<K,V>
getHiveRecordWriter
in class HiveSequenceFileOutputFormat<K,V>
jc
- the job configuration filefinalOutPath
- the final output file to be createdvalueClass
- the value class used for createisCompressed
- whether the content is compressed or nottableProperties
- the tableInfo of this file's corresponding tableprogress
- progress used for status reportIOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.