public class EventRowRegexNFAView extends ViewSupport implements StopCallback, EventRowRegexNFAViewService
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
EventRowRegexNFAView(EventRowRegexNFAViewFactory factory,
ObjectArrayEventType compositeEventType,
EventType rowEventType,
MatchRecognizeSpec matchRecognizeSpec,
java.util.LinkedHashMap<java.lang.String,Pair<java.lang.Integer,java.lang.Boolean>> variableStreams,
java.util.Map<java.lang.Integer,java.lang.String> streamsVariables,
java.util.Set<java.lang.String> variablesSingle,
AgentInstanceContext agentInstanceContext,
java.util.TreeMap<java.lang.Integer,java.util.List<ExprPreviousMatchRecognizeNode>> callbacksPerIndex,
AggregationServiceMatchRecognize aggregationService,
boolean isDefineAsksMultimatches,
ObjectArrayBackedEventBean defineMultimatchEventBean,
boolean[] isExprRequiresMultimatchState,
boolean isUnbound,
boolean isIterateOnly,
boolean isCollectMultimatches)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(EventRowRegexNFAViewServiceVisitor visitor) |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
EventRowRegexNFAViewFactory |
getFactory() |
RegexExprPreviousEvalStrategy |
getPreviousEvaluationStrategy() |
void |
init(EventBean[] newEvents) |
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
stop()
Stops the underlying resources.
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren
public EventRowRegexNFAView(EventRowRegexNFAViewFactory factory, ObjectArrayEventType compositeEventType, EventType rowEventType, MatchRecognizeSpec matchRecognizeSpec, java.util.LinkedHashMap<java.lang.String,Pair<java.lang.Integer,java.lang.Boolean>> variableStreams, java.util.Map<java.lang.Integer,java.lang.String> streamsVariables, java.util.Set<java.lang.String> variablesSingle, AgentInstanceContext agentInstanceContext, java.util.TreeMap<java.lang.Integer,java.util.List<ExprPreviousMatchRecognizeNode>> callbacksPerIndex, AggregationServiceMatchRecognize aggregationService, boolean isDefineAsksMultimatches, ObjectArrayBackedEventBean defineMultimatchEventBean, boolean[] isExprRequiresMultimatchState, boolean isUnbound, boolean isIterateOnly, boolean isCollectMultimatches)
compositeEventType
- final event typerowEventType
- event type for input rowsmatchRecognizeSpec
- specificationvariableStreams
- variables and their assigned stream numberstreamsVariables
- stream number and the assigned variablevariablesSingle
- single variablescallbacksPerIndex
- for handling the 'prev' functionaggregationService
- handles aggregationsisUnbound
- true if unbound streamisIterateOnly
- true for iterate-onlyisCollectMultimatches
- if asking for multimatchespublic void stop()
StopCallback
stop
in interface StopCallback
public void init(EventBean[] newEvents)
init
in interface EventRowRegexNFAViewService
public void update(EventBean[] newData, EventBean[] oldData)
View
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public void accept(EventRowRegexNFAViewServiceVisitor visitor)
accept
in interface EventRowRegexNFAViewService
public RegexExprPreviousEvalStrategy getPreviousEvaluationStrategy()
getPreviousEvaluationStrategy
in interface EventRowRegexNFAViewService
public EventRowRegexNFAViewFactory getFactory()