public class TypeConverterProcessor extends Object implements StreamsProcessor, Serializable
ActivityConverterProcessor
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
protected Class |
outClass |
static String |
STREAMS_ID |
Constructor and Description |
---|
TypeConverterProcessor(Class outClass) |
TypeConverterProcessor(Class outClass,
List<String> formats) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
String |
getId() |
void |
prepare(Object configurationObject) |
List<StreamsDatum> |
process(StreamsDatum entry) |
public static final String STREAMS_ID
protected com.fasterxml.jackson.databind.ObjectMapper mapper
protected Class outClass
public TypeConverterProcessor(Class outClass)
public String getId()
getId
in interface StreamsOperation
public List<StreamsDatum> process(StreamsDatum entry)
process
in interface StreamsProcessor
public void prepare(Object configurationObject)
prepare
in interface StreamsOperation
public void cleanUp()
cleanUp
in interface StreamsOperation
Copyright © 2017 The Apache Software Foundation. All rights reserved.