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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.HivePassThroughRecordWriter<K,V>
All Implemented Interfaces:
FileSinkOperator.RecordWriter

public class HivePassThroughRecordWriter<K extends ,V extends Writable>
extends Object
implements FileSinkOperator.RecordWriter


Constructor Summary
HivePassThroughRecordWriter( writer)
           
 
Method Summary
 void close(boolean abort)
           
 void write(Writable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HivePassThroughRecordWriter

public HivePassThroughRecordWriter( writer)
Method Detail

write

public void write(Writable r)
           throws IOException
Specified by:
write in interface FileSinkOperator.RecordWriter
Throws:
IOException

close

public void close(boolean abort)
           throws IOException
Specified by:
close in interface FileSinkOperator.RecordWriter
Throws:
IOException


Copyright © 2012 The Apache Software Foundation