edu.umd.cloud9.debug
Class InMemoryOutputCollector

java.lang.Object
  extended by edu.umd.cloud9.debug.InMemoryOutputCollector
All Implemented Interfaces:
OutputCollector<WritableComparable,Writable>

public class InMemoryOutputCollector
extends Object
implements OutputCollector<WritableComparable,Writable>


Constructor Summary
InMemoryOutputCollector()
           
 
Method Summary
 void collect(WritableComparable key, Writable value)
           
 Iterator<WritableComparable> getUniqueKeys()
           
 Iterator<Writable> getValues(Writable key)
           
 void printAll()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryOutputCollector

public InMemoryOutputCollector()
Method Detail

collect

public void collect(WritableComparable key,
                    Writable value)
Specified by:
collect in interface OutputCollector<WritableComparable,Writable>

getValues

public Iterator<Writable> getValues(Writable key)

getUniqueKeys

public Iterator<WritableComparable> getUniqueKeys()

printAll

public void printAll()