org.apache.hadoop.hive.ql.io
Class IgnoreKeyTextOutputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<K,V>
      extended by org.apache.hadoop.mapred.TextOutputFormat<K,V>
          extended by org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat<K,V>
All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<K,V>

Deprecated. use HiveIgnoreKeyTextOutputFormat instead}

@Deprecated
public class IgnoreKeyTextOutputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
extends org.apache.hadoop.mapred.TextOutputFormat<K,V>

This class replaces key with null before feeding the to TextOutputFormat.RecordWriter.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileOutputFormat
org.apache.hadoop.mapred.FileOutputFormat.Counter
 
Constructor Summary
IgnoreKeyTextOutputFormat()
          Deprecated.  
 
Method Summary
 org.apache.hadoop.mapred.RecordWriter<K,V> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, org.apache.hadoop.mapred.JobConf job, String name, org.apache.hadoop.util.Progressable progress)
          Deprecated.  
 
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreKeyTextOutputFormat

public IgnoreKeyTextOutputFormat()
Deprecated. 
Method Detail

getRecordWriter

public org.apache.hadoop.mapred.RecordWriter<K,V> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
                                                                  org.apache.hadoop.mapred.JobConf job,
                                                                  String name,
                                                                  org.apache.hadoop.util.Progressable progress)
                                                                                                                                                 throws IOException
Deprecated. 
Specified by:
getRecordWriter in interface org.apache.hadoop.mapred.OutputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Overrides:
getRecordWriter in class org.apache.hadoop.mapred.TextOutputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All rights reserved.