Class OnExprViewNamedWindowMerge
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.OnExprViewNamedWindowMerge
View for the on-delete statement that handles removing 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
ConstructorDescriptionOnExprViewNamedWindowMerge
(SubordWMatchExprLookupStrategy lookupStrategy, NamedWindowRootViewInstance rootView, AgentInstanceContext agentInstanceContext, InfraOnMergeViewFactory parent) -
Method Summary
Modifier and TypeMethodDescriptionProvides 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
-
OnExprViewNamedWindowMerge
public OnExprViewNamedWindowMerge(SubordWMatchExprLookupStrategy lookupStrategy, NamedWindowRootViewInstance rootView, AgentInstanceContext agentInstanceContext, InfraOnMergeViewFactory parent)
-
-
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
-
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.
-