com.espertech.esper.client.dataflow
Class EPDataFlowEventBeanCollectorContext

java.lang.Object
  extended by com.espertech.esper.client.dataflow.EPDataFlowEventBeanCollectorContext

public class EPDataFlowEventBeanCollectorContext
extends java.lang.Object

For use with EPDataFlowEventBeanCollector provides collection context.

Do not retain handles to this instance as its contents may change.


Constructor Summary
EPDataFlowEventBeanCollectorContext(EPDataFlowEmitter emitter, boolean submitEventBean, EventBean event)
          Ctor.
 
Method Summary
 EPDataFlowEmitter getEmitter()
          Returns the emitter.
 EventBean getEvent()
          Returns the event to process.
 boolean isSubmitEventBean()
          Returns true to submit EventBean instances, false to submit underlying event.
 void setEvent(EventBean event)
          Sets the event to process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPDataFlowEventBeanCollectorContext

public EPDataFlowEventBeanCollectorContext(EPDataFlowEmitter emitter,
                                           boolean submitEventBean,
                                           EventBean event)
Ctor.

Parameters:
emitter - to emit into the data flow
submitEventBean - indicator whether to submit EventBean or underlying events
event - to process
Method Detail

getEvent

public EventBean getEvent()
Returns the event to process.

Returns:
event

setEvent

public void setEvent(EventBean event)
Sets the event to process.

Parameters:
event - to process

getEmitter

public 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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com