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
Tuple s from an input object |
java.util.List<Tuple> |
createTuples(Schema schema,
java.util.Collection<T> ts)
create multiple
Tuple s from input objects |
java.util.List<Tuple> |
createTuples(Schema schema,
T... ts)
create multiple
Tuple s from input objects |
public abstract Tuple createTuple(Schema schema, T t) throws StreamBaseException
TupleMaker
Tuple
s from an input objectcreateTuple
in interface TupleMaker<T>
schema
- the schema for the tuplet
- the input data to build it fromStreamBaseException
public java.util.List<Tuple> createTuples(Schema schema, T... ts) throws StreamBaseException
TupleMaker
Tuple
s from input objectscreateTuples
in interface TupleMaker<T>
schema
- the schema for the tuplets
- the input data to build it fromStreamBaseException
public java.util.List<Tuple> createTuples(Schema schema, java.util.Collection<T> ts) throws StreamBaseException
TupleMaker
Tuple
s from input objectscreateTuples
in interface TupleMaker<T>
schema
- the schema for the tuplets
- the input data to build it fromStreamBaseException