org.unigram.likelike.util.accessor
Class DFSWriter

java.lang.Object
  extended by org.unigram.likelike.util.accessor.DFSWriter
All Implemented Interfaces:
IWriter

public class DFSWriter
extends java.lang.Object
implements IWriter


Constructor Summary
DFSWriter(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 boolean write(java.lang.Long key, java.lang.Long value, org.apache.hadoop.mapreduce.Reducer.Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFSWriter

public DFSWriter(org.apache.hadoop.conf.Configuration conf)
Method Detail

write

public boolean write(java.lang.Long key,
                     java.lang.Long value,
                     org.apache.hadoop.mapreduce.Reducer.Context context)
              throws java.lang.Exception,
                     java.lang.InterruptedException,
                     java.io.IOException
Specified by:
write in interface IWriter
Throws:
java.lang.Exception
java.lang.InterruptedException
java.io.IOException