Class OnExprViewNamedWindowSelect

All Implemented Interfaces:
View, Viewable, Iterable<EventBean>

public class OnExprViewNamedWindowSelect extends OnExprViewNameWindowBase
View for the on-select statement that handles selecting events from a named window.
  • Constructor Details

  • Method Details

    • handleMatching

      public void handleMatching(EventBean[] triggerEvents, EventBean[] matchingEvents)
      Description copied from class: OnExprViewNameWindowBase
      Implemented by on-trigger views to action on the combination of trigger and matching events in the named window.
      Specified by:
      handleMatching in class OnExprViewNameWindowBase
      Parameters:
      triggerEvents - is the trigger events (usually 1)
      matchingEvents - is the matching events retrieved via lookup strategy
    • buildJoinResult

      public static Set<MultiKeyArrayOfKeys<EventBean>> buildJoinResult(EventBean[] triggerEvents, EventBean[] matchingEvents)
    • getEventType

      public EventType getEventType()
      Description copied from interface: Viewable
      Provides metadata information about the type of object the event collection contains.
      Returns:
      metadata for the objects in the collection
    • iterator

      public Iterator<EventBean> iterator()
      Description copied from interface: Viewable
      Allows iteration through all elements in this viewable. The iterator will return the elements in the collection in their natural order, or, if there is no natural ordering, in some unpredictable order.
      Returns:
      an iterator which will go through all current elements in the collection.