@InterfaceAudience.Private public class BinSedesTupleFactory extends TupleFactory
| Constructor and Description | 
|---|
BinSedesTupleFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isFixedSize()
This method is used to inspect whether the Tuples created by this factory
 will be of a fixed size when they are created. 
 | 
Tuple | 
newTuple()
Create an empty tuple. 
 | 
Tuple | 
newTuple(int size)
Create a tuple with size fields. 
 | 
Tuple | 
newTuple(java.util.List c)
Create a tuple from the provided list of objects. 
 | 
Tuple | 
newTuple(java.lang.Object datum)
Create a tuple with a single element. 
 | 
Tuple | 
newTupleNoCopy(java.util.List list)
Create a tuple from a provided list of objects, keeping the provided
 list. 
 | 
java.lang.Class<? extends Tuple> | 
tupleClass()
Return the actual class representing a tuple that the implementing
 factory will be returning. 
 | 
java.lang.Class<? extends TupleRawComparator> | 
tupleRawComparatorClass()
Return the actual class implementing the raw comparator for tuples
 that the factory will be returning. 
 | 
getInstance, resetSelfpublic Tuple newTuple()
TupleFactorynewTuple in interface TupleMaker<Tuple>newTuple in class TupleFactorypublic Tuple newTuple(int size)
TupleFactorynewTuple in interface TupleMaker<Tuple>newTuple in class TupleFactorysize - Number of fields in the tuple.public Tuple newTuple(java.util.List c)
TupleFactorynewTuple in class TupleFactoryc - List of objects to use as the fields of the tuple.public Tuple newTupleNoCopy(java.util.List list)
TupleFactorynewTupleNoCopy in class TupleFactorylist - List of objects that will become the fields of the tuple.public Tuple newTuple(java.lang.Object datum)
TupleFactorynewTuple in class TupleFactorydatum - Datum to put in the tuple.public java.lang.Class<? extends Tuple> tupleClass()
TupleFactorytupleClass in class TupleFactorypublic java.lang.Class<? extends TupleRawComparator> tupleRawComparatorClass()
TupleFactorytupleRawComparatorClass in class TupleFactorypublic boolean isFixedSize()
TupleFactoryisFixedSize in class TupleFactoryCopyright © 2007-2012 The Apache Software Foundation