com.sun.labs.minion.test.regression
Class TupleFactory

java.lang.Object
  extended by com.sun.labs.minion.test.regression.TupleFactory

public class TupleFactory
extends java.lang.Object

Creates tuple objects with documents that contain a certain entry.


Constructor Summary
TupleFactory()
           
 
Method Summary
static Tuple createTuple(Entry entry, PartitionManager manager)
          Creates a Tuple with all the documents that contain the given Entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleFactory

public TupleFactory()
Method Detail

createTuple

public static Tuple createTuple(Entry entry,
                                PartitionManager manager)
Creates a Tuple with all the documents that contain the given Entry.

Parameters:
entry - the entry the documents of the created Tuple should have
Returns:
a Tuple with all the documents that contain the given Entry