Class EPDataFlowEventBeanCollectorContext
java.lang.Object
com.espertech.esper.common.client.dataflow.core.EPDataFlowEventBeanCollectorContext
For use with
EPDataFlowEventBeanCollector
provides collection context.
Do not retain handles to this instance as its contents may change.
-
Constructor Summary
ConstructorDescriptionEPDataFlowEventBeanCollectorContext
(EPDataFlowEmitter emitter, boolean submitEventBean, EventBean event) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the emitter.getEvent()
Returns the event to process.boolean
Returns true to submit EventBean instances, false to submit underlying event.void
Sets the event to process.
-
Constructor Details
-
EPDataFlowEventBeanCollectorContext
public EPDataFlowEventBeanCollectorContext(EPDataFlowEmitter emitter, boolean submitEventBean, EventBean event) Ctor.- Parameters:
emitter
- to emit into the data flowsubmitEventBean
- indicator whether to submit EventBean or underlying eventsevent
- to process
-
-
Method Details
-
getEvent
Returns the event to process.- Returns:
- event
-
setEvent
Sets the event to process.- Parameters:
event
- to process
-
getEmitter
Returns the emitter.- Returns:
- emitter
-
isSubmitEventBean
public boolean isSubmitEventBean()Returns true to submit EventBean instances, false to submit underlying event.- Returns:
- indicator whether wrapper required or not
-