Class OnExprViewNamedWindowSelect
java.lang.Object
com.espertech.esper.common.internal.view.core.ViewSupport
com.espertech.esper.common.internal.epl.ontrigger.OnExprViewNameWindowBase
com.espertech.esper.common.internal.epl.ontrigger.OnExprViewNamedWindowSelect
View for the on-select statement that handles selecting events from a named window.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.ontrigger.OnExprViewNameWindowBase
agentInstanceContext, rootView
Fields inherited from class com.espertech.esper.common.internal.view.core.ViewSupport
child
-
Constructor Summary
ConstructorDescriptionOnExprViewNamedWindowSelect
(SubordWMatchExprLookupStrategy lookupStrategy, NamedWindowRootViewInstance rootView, AgentInstanceContext agentInstanceContext, InfraOnSelectViewFactory parent, ResultSetProcessor resultSetProcessor, boolean audit, boolean isDelete, TableInstance tableInstanceInsertInto, ExprEvaluator eventPrecedence) -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<MultiKeyArrayOfKeys<EventBean>>
buildJoinResult
(EventBean[] triggerEvents, EventBean[] matchingEvents) Provides metadata information about the type of object the event collection contains.void
handleMatching
(EventBean[] triggerEvents, EventBean[] matchingEvents) Implemented by on-trigger views to action on the combination of trigger and matching events in the named window.iterator()
Allows iteration through all elements in this viewable.Methods inherited from class com.espertech.esper.common.internal.epl.ontrigger.OnExprViewNameWindowBase
getExprEvaluatorContext, update
Methods inherited from class com.espertech.esper.common.internal.view.core.ViewSupport
getChild, getParent, setChild, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
OnExprViewNamedWindowSelect
public OnExprViewNamedWindowSelect(SubordWMatchExprLookupStrategy lookupStrategy, NamedWindowRootViewInstance rootView, AgentInstanceContext agentInstanceContext, InfraOnSelectViewFactory parent, ResultSetProcessor resultSetProcessor, boolean audit, boolean isDelete, TableInstance tableInstanceInsertInto, ExprEvaluator eventPrecedence)
-
-
Method Details
-
handleMatching
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 classOnExprViewNameWindowBase
- 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
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
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.
-