Class EPDataFlowIRStreamCollectorContext
java.lang.Object
com.espertech.esper.common.client.dataflow.core.EPDataFlowIRStreamCollectorContext
Context for use with
EPDataFlowIRStreamCollector
.
Do not retain a handle of this object as its contents are subject to change.
-
Constructor Summary
ConstructorDescriptionEPDataFlowIRStreamCollectorContext
(com.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter emitter, boolean submitEventBean, EventBean[] newEvents, EventBean[] oldEvents, Object statement, Object runtime) Ctor. -
Method Summary
Modifier and TypeMethodDescriptioncom.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter
Returns the emitter.Returns insert stream.Returns remove stream.Returns the runtime instance and can safely be cast to runtime when needed(typed object to not require a dependency on runtime)Returns the statement and can safely be cast to EPStatement when needed(typed object to not require a dependency on runtime)boolean
Returns indicator whether to submit wrapped events (EventBean) or underlying events
-
Constructor Details
-
EPDataFlowIRStreamCollectorContext
public EPDataFlowIRStreamCollectorContext(com.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter emitter, boolean submitEventBean, EventBean[] newEvents, EventBean[] oldEvents, Object statement, Object runtime) Ctor.- Parameters:
emitter
- data flow emittersubmitEventBean
- indicator whether the EventBean or the underlying event object must be submmittednewEvents
- insert stream eventsoldEvents
- remove stream eventsstatement
- statement posting eventsruntime
- runtime instance
-
-
Method Details
-
getEmitter
public com.espertech.esper.common.internal.epl.dataflow.interfaces.EPDataFlowEmitter getEmitter()Returns the emitter.- Returns:
- emitter
-
getNewEvents
Returns insert stream.- Returns:
- events
-
getOldEvents
Returns remove stream.- Returns:
- events
-
getStatement
Returns the statement and can safely be cast to EPStatement when needed(typed object to not require a dependency on runtime)- Returns:
- statement
-
getRuntime
Returns the runtime instance and can safely be cast to runtime when needed(typed object to not require a dependency on runtime)- Returns:
- runtime instance
-
isSubmitEventBean
public boolean isSubmitEventBean()Returns indicator whether to submit wrapped events (EventBean) or underlying events- Returns:
- wrapped event indicator
-