org.apache.hadoop.hive.ql.io
Class HiveIgnoreKeyTextOutputFormat.IgnoreKeyWriter<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
java.lang.Object
org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat.IgnoreKeyWriter<K,V>
- All Implemented Interfaces:
- org.apache.hadoop.mapred.RecordWriter<K,V>
- Enclosing class:
- HiveIgnoreKeyTextOutputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
protected static class HiveIgnoreKeyTextOutputFormat.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>
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 |
HiveIgnoreKeyTextOutputFormat.IgnoreKeyWriter
public HiveIgnoreKeyTextOutputFormat.IgnoreKeyWriter(org.apache.hadoop.mapred.RecordWriter<K,V> writer)
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 © 2009 The Apache Software Foundation