public abstract class EsperEventEngine<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams> extends Object implements 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() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
fixEventName(String eventName) |
protected Writer |
getWriter(org.streampipes.wrapper.routing.SpOutputCollector collector,
org.streampipes.wrapper.context.EventProcessorRuntimeContext runtimeContext) |
protected List<String> |
makeStatementList(String statement) |
void |
onDetach() |
void |
onEvent(org.streampipes.model.runtime.Event event,
org.streampipes.wrapper.routing.SpOutputCollector collector) |
void |
onInvocation(T parameters,
org.streampipes.wrapper.routing.SpOutputCollector collector,
org.streampipes.wrapper.context.EventProcessorRuntimeContext runtimeContext) |
protected abstract List<String> |
statements(T bindingParameters) |
protected com.espertech.esper.client.EPServiceProvider epService
protected List<com.espertech.esper.client.EPStatement> epStatements
public void onInvocation(T parameters, org.streampipes.wrapper.routing.SpOutputCollector collector, org.streampipes.wrapper.context.EventProcessorRuntimeContext runtimeContext)
onInvocation in interface org.streampipes.wrapper.runtime.EventProcessor<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams>public void onEvent(org.streampipes.model.runtime.Event event,
org.streampipes.wrapper.routing.SpOutputCollector collector)
onEvent in interface org.streampipes.wrapper.runtime.EventProcessor<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams>public void onDetach()
onDetach in interface org.streampipes.wrapper.runtime.PipelineElement<T extends org.streampipes.wrapper.params.binding.EventProcessorBindingParams,org.streampipes.model.graph.DataProcessorInvocation>protected Writer getWriter(org.streampipes.wrapper.routing.SpOutputCollector collector, org.streampipes.wrapper.context.EventProcessorRuntimeContext runtimeContext)
Copyright © 2019. All rights reserved.