public class JSONTupleMaker extends AbstractTupleMaker<java.lang.String>
Tuples from JSON formatted Strings.
Note that for StreamBase Blobs, you should use JSON string values.
TupleMaker| Modifier and Type | Field and Description |
|---|---|
static JSONTupleMaker |
MAKER
Static
JSONTupleMaker instance suitable as argument to Enqueuer and Expecter
methods that need a TupleMaker |
| Constructor and Description |
|---|
JSONTupleMaker() |
| Modifier and Type | Method and Description |
|---|---|
Tuple |
createTuple(Schema schema,
java.lang.String str)
create a
Tuples from an input object |
createTuples, createTuplespublic static final JSONTupleMaker MAKER
JSONTupleMaker instance suitable as argument to Enqueuer and Expecter
methods that need a TupleMakerJSONTupleMakerpublic Tuple createTuple(Schema schema, java.lang.String str) throws StreamBaseException
TupleMakerTuples from an input objectcreateTuple in interface TupleMaker<java.lang.String>createTuple in class AbstractTupleMaker<java.lang.String>schema - the schema for the tuplestr - the input data to build it fromStreamBaseException