Package com.streambase.sb.unittest
Class AbstractTupleMaker<T>
java.lang.Object
com.streambase.sb.unittest.AbstractTupleMaker<T>
- Type Parameters:
 T- Tuple type
- All Implemented Interfaces:
 TupleMaker<T>
- Direct Known Subclasses:
 CSVTupleMaker,JSONTupleMaker,ObjectArrayTupleMaker
A convenience class which implements all of the methods of 
TupleMaker in terms of
 createTuple(Schema, Object).- Since:
 - 6.6
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract TuplecreateTuple(Schema schema, T t) create aTuples from an input objectcreateTuples(Schema schema, Collection<T> ts) create multipleTuples from input objectscreateTuples(Schema schema, T... ts) create multipleTuples from input objects 
- 
Constructor Details
- 
AbstractTupleMaker
public AbstractTupleMaker() 
 - 
 - 
Method Details
- 
createTuple
Description copied from interface:TupleMakercreate aTuples from an input object- Specified by:
 createTuplein interfaceTupleMaker<T>- Parameters:
 schema- the schema for the tuplet- the input data to build it from- Returns:
 - the result tuple
 - Throws:
 StreamBaseException- Error creating tuple
 - 
createTuples
Description copied from interface:TupleMakercreate multipleTuples from input objects- Specified by:
 createTuplesin interfaceTupleMaker<T>- Parameters:
 schema- the schema for the tuplets- the input data to build it from- Returns:
 - the result tuple
 - Throws:
 StreamBaseException- Error creating tuple
 - 
createTuples
Description copied from interface:TupleMakercreate multipleTuples from input objects- Specified by:
 createTuplesin interfaceTupleMaker<T>- Parameters:
 schema- the schema for the tuplets- the input data to build it from- Returns:
 - the result tuple
 - Throws:
 StreamBaseException- Error creating tuples
 
 -