public class DatumFromMetadataAsDocumentProcessor extends Object implements StreamsProcessor, Serializable
Constructor and Description |
---|
DatumFromMetadataAsDocumentProcessor() |
DatumFromMetadataAsDocumentProcessor(ElasticsearchReaderConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
String |
getId() |
void |
prepare(Object configurationObject) |
List<StreamsDatum> |
process(StreamsDatum entry) |
public DatumFromMetadataAsDocumentProcessor()
public DatumFromMetadataAsDocumentProcessor(ElasticsearchReaderConfiguration config)
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 © 2018 The Apache Software Foundation. All rights reserved.