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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat.IgnoreKeyWriter<K,V>
All Implemented Interfaces:
org.apache.hadoop.mapred.RecordWriter<K,V>
Enclosing class:
IgnoreKeyTextOutputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>

protected static class IgnoreKeyTextOutputFormat.IgnoreKeyWriter<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
extends Object
implements org.apache.hadoop.mapred.RecordWriter<K,V>


Constructor Summary
IgnoreKeyTextOutputFormat.IgnoreKeyWriter(org.apache.hadoop.mapred.RecordWriter<K,V> writer)
           
 
Method Summary
 void close(org.apache.hadoop.mapred.Reporter reporter)
           
 void write(K key, V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreKeyTextOutputFormat.IgnoreKeyWriter

public IgnoreKeyTextOutputFormat.IgnoreKeyWriter(org.apache.hadoop.mapred.RecordWriter<K,V> writer)
Method Detail

write

public void write(K key,
                  V value)
           throws IOException
Specified by:
write in interface org.apache.hadoop.mapred.RecordWriter<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Throws:
IOException

close

public void close(org.apache.hadoop.mapred.Reporter reporter)
           throws IOException
Specified by:
close in interface org.apache.hadoop.mapred.RecordWriter<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation