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}

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
protected static class IgnoreKeyTextOutputFormat.IgnoreKeyWriter<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
          Deprecated.  
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.TextOutputFormat
org.apache.hadoop.mapred.TextOutputFormat.LineRecordWriter<K,V>
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 © 2009 The Apache Software Foundation