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
(com.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter emitter, boolean submitEventBean, EventBean event) Ctor. -
Method Summary
Modifier and TypeMethodDescriptioncom.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter
Returns 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(com.espertech.esper.common.internal.epl.dataflow.interfaces.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
public com.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter 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
-