public abstract class EsperEventEngine<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams>
extends org.streampipes.wrapper.runtime.EventProcessor<T>
| Modifier and Type | Field and Description |
|---|---|
protected com.espertech.esper.client.EPServiceProvider |
epService |
protected List<com.espertech.esper.client.EPStatement> |
epStatements |
| Constructor and Description |
|---|
EsperEventEngine(T params) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(T parameters,
org.streampipes.wrapper.routing.SpOutputCollector collector) |
void |
discard() |
protected String |
fixEventName(String eventName) |
protected Writer |
getWriter(org.streampipes.wrapper.routing.SpOutputCollector collector,
T params) |
protected List<String> |
makeStatementList(String statement) |
void |
onEvent(Map<String,Object> event,
String sourceInfo) |
protected abstract List<String> |
statements(T bindingParameters) |
protected com.espertech.esper.client.EPServiceProvider epService
protected List<com.espertech.esper.client.EPStatement> epStatements
public EsperEventEngine(T params)
public void bind(T parameters, org.streampipes.wrapper.routing.SpOutputCollector collector)
bind in class org.streampipes.wrapper.runtime.EventProcessor<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams>public void onEvent(Map<String,Object> event, String sourceInfo)
onEvent in class org.streampipes.wrapper.runtime.PipelineElement<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams>public void discard()
discard in class org.streampipes.wrapper.runtime.PipelineElement<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams>Copyright © 2018. All rights reserved.