Class EPDataFlowEventBeanCollectorContext

java.lang.Object
com.espertech.esper.common.client.dataflow.core.EPDataFlowEventBeanCollectorContext

public class EPDataFlowEventBeanCollectorContext extends Object
For use with EPDataFlowEventBeanCollector provides collection context.

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

  • Constructor Details

    • 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 Details

    • 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