public interface TupleMaker<T>
     name : String
     address : String
     phone : string
 
 You could use the tuple maker like this:
 
    Tuple tuple = tupleMaker.createTuple(schema, "Joe Smith", "101 Main St", "508-555-1212");
 
 Examine the subclasses of TupleMaker in the see section for concrete implementations.JSONSingleQuotesTupleMaker, 
JSONTupleMaker, 
ObjectArrayTupleMaker, 
CSVTupleMaker| Modifier and Type | Method and Description | 
|---|---|
Tuple | 
createTuple(Schema schema,
           T t)
create a  
Tuples from an input object | 
List<Tuple> | 
createTuples(Schema schema,
            Collection<T> t)
create multiple  
Tuples from input objects | 
List<Tuple> | 
createTuples(Schema schema,
            T... t)
create multiple  
Tuples from input objects | 
Tuple createTuple(Schema schema, T t) throws StreamBaseException
Tuples from an input objectschema - the schema for the tuplet - the input data to build it fromStreamBaseExceptionList<Tuple> createTuples(Schema schema, T... t) throws StreamBaseException
Tuples from input objectsschema - the schema for the tuplet - the input data to build it fromStreamBaseExceptionList<Tuple> createTuples(Schema schema, Collection<T> t) throws StreamBaseException
Tuples from input objectsschema - the schema for the tuplet - the input data to build it fromStreamBaseExceptionCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.