Class CEPEsperProcessor.Subscriber
- java.lang.Object
-
- org.marketcetera.modules.cep.esper.CEPEsperProcessor.Subscriber
-
- Enclosing class:
- CEPEsperProcessor
public static class CEPEsperProcessor.Subscriber extends Object
A Subscriber class that subscribes to the query statement results and emits them out to the flow that requested that statement.
-
-
Field Summary
Fields Modifier and Type Field Description private DataEmitterSupportmSupport
-
Constructor Summary
Constructors Modifier Constructor Description privateSubscriber(DataEmitterSupport inSupport)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdate(Map<?,?> inMap)Receives data from the statement as a map.
-
-
-
Field Detail
-
mSupport
private DataEmitterSupport mSupport
-
-
Constructor Detail
-
Subscriber
private Subscriber(DataEmitterSupport inSupport)
Creates a new instance.- Parameters:
inSupport- the handle to emit data for the data flow.
-
-
Method Detail
-
update
public void update(Map<?,?> inMap)
Receives data from the statement as a map. If the map contains a single value, that value is extracted and emitted. Otherwise, the received value, including nulls, is emitted as is.- Parameters:
inMap- the map of values containing results of the statement.
-
-