SCS

scs.demos.mapreduce.servant
Class DirectOutputCollectorServant

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by scs.demos.mapreduce.OutputCollectorPOA
          extended by scs.demos.mapreduce.servant.DirectOutputCollectorServant
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, OutputCollectorOperations

public class DirectOutputCollectorServant
extends OutputCollectorPOA

Servant que implementa a interface OutputCollector usada na operação map quando o numero de reducers é igual a zero.


Constructor Summary
DirectOutputCollectorServant(IOFormat ioformat, Reporter reporter, FileSplit fileSplit, java.lang.String configFileName, TaskStatus status)
           
 
Method Summary
 void close()
           
 void collect(org.omg.CORBA.Any key, org.omg.CORBA.Any value)
           
 void flush()
           
 
Methods inherited from class scs.demos.mapreduce.OutputCollectorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectOutputCollectorServant

public DirectOutputCollectorServant(IOFormat ioformat,
                                    Reporter reporter,
                                    FileSplit fileSplit,
                                    java.lang.String configFileName,
                                    TaskStatus status)
                             throws IOMapReduceException
Throws:
IOMapReduceException
Method Detail

close

public void close()
           throws IOMapReduceException
Throws:
IOMapReduceException

flush

public void flush()
           throws IOMapReduceException
Throws:
IOMapReduceException

collect

public void collect(org.omg.CORBA.Any key,
                    org.omg.CORBA.Any value)
             throws IOMapReduceException
Throws:
IOMapReduceException

SCS