public abstract class AbstractTupleMaker<T> extends java.lang.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 |
java.util.List<Tuple> |
createTuples(Schema schema,
java.util.Collection<T> ts)
create multiple
Tuples from input objects |
java.util.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 java.util.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 java.util.List<Tuple> createTuples(Schema schema, java.util.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 fromStreamBaseException