public abstract class AbstractTupleMaker<T> extends Object implements TupleMaker<T>
TupleMaker in terms of
 AbstractTupleMaker.createTuple(Schema, Object).| Constructor and Description | 
|---|
AbstractTupleMaker()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract Tuple | 
createTuple(Schema schema,
           T t)
create a  
Tuples from an input object | 
List<Tuple> | 
createTuples(Schema schema,
            Collection<T> ts)
create multiple  
Tuples from input objects | 
List<Tuple> | 
createTuples(Schema schema,
            T... ts)
create multiple  
Tuples from input objects | 
public abstract Tuple createTuple(Schema schema, T t) throws StreamBaseException
TupleMakerTuples from an input objectcreateTuple in interface TupleMaker<T>schema - the schema for the tuplet - the input data to build it fromStreamBaseExceptionpublic List<Tuple> createTuples(Schema schema, T... ts) throws StreamBaseException
TupleMakerTuples from input objectscreateTuples in interface TupleMaker<T>schema - the schema for the tuplets - the input data to build it fromStreamBaseExceptionpublic List<Tuple> createTuples(Schema schema, Collection<T> ts) throws StreamBaseException
TupleMakerTuples from input objectscreateTuples in interface TupleMaker<T>schema - the schema for the tuplets - the input data to build it fromStreamBaseExceptionCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.