|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.view.ViewFactorySupport
com.espertech.esper.rowregex.EventRowRegexNFAViewFactory
public class EventRowRegexNFAViewFactory
View factory for match-recognize view.
Constructor Summary | |
---|---|
EventRowRegexNFAViewFactory(ViewFactoryChain viewChain,
MatchRecognizeSpec matchRecognizeSpec,
AgentInstanceContext agentInstanceContext,
boolean isUnbound,
java.lang.annotation.Annotation[] annotations)
Ctor. |
Method Summary | |
---|---|
void |
attach(EventType parentEventType,
StatementContext statementContext,
ViewFactory optionalParentFactory,
java.util.List<ViewFactory> parentViewFactories)
Attaches the factory to a parent event type such that the factory can validate attach requirements and determine an event type for resulting views. |
java.util.List<AggregationServiceAggExpressionDesc> |
getAggregationExpressions()
|
AggregationServiceMatchRecognize |
getAggregationService()
|
EventType |
getEventType()
Returns the event type that the view that is created by the view factory would create for events posted by the view. |
java.util.Set<ExprPreviousMatchRecognizeNode> |
getPreviousExprNodes()
|
java.lang.String |
getViewName()
Returns the name of the view, not namespace+name but readable name. |
View |
makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
Create a new view. |
void |
setViewParameters(ViewFactoryContext viewFactoryContext,
java.util.List<ExprNode> viewParameters)
Indicates user EPL query view parameters to the view factory. |
Methods inherited from class com.espertech.esper.view.ViewFactorySupport |
---|
assertReturnsNonConstant, canReuse, evaluateAssertNoProperties, getViewParamMessageNumericOrTimePeriod, validate, validateAndEvaluate, validateAndEvaluate, validateAndEvaluateExpr, validateExpr |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventRowRegexNFAViewFactory(ViewFactoryChain viewChain, MatchRecognizeSpec matchRecognizeSpec, AgentInstanceContext agentInstanceContext, boolean isUnbound, java.lang.annotation.Annotation[] annotations) throws ExprValidationException
viewChain
- viewsmatchRecognizeSpec
- specificationisUnbound
- true for unbound streamannotations
- annotations
ExprValidationException
- if validation failsMethod Detail |
---|
public void setViewParameters(ViewFactoryContext viewFactoryContext, java.util.List<ExprNode> viewParameters) throws ViewParameterException
ViewFactory
viewFactoryContext
- supplied context information for the view factoryviewParameters
- is the objects representing the view parameters
ViewParameterException
- if the parameters don't match view parameter needspublic void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, java.util.List<ViewFactory> parentViewFactories) throws ViewParameterException
ViewFactory
parentEventType
- is the parent event stream's or view factory's event typestatementContext
- contains the services needed for creating a new event typeoptionalParentFactory
- is null when there is no parent view factory, or contains the
parent view factoryparentViewFactories
- is a list of all the parent view factories or empty list if there are none
ViewParameterException
- is thrown to indicate that this view factories's view would not play
with the parent view factories viewpublic View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
ViewFactory
public EventType getEventType()
ViewFactory
public java.util.List<AggregationServiceAggExpressionDesc> getAggregationExpressions()
public AggregationServiceMatchRecognize getAggregationService()
public java.util.Set<ExprPreviousMatchRecognizeNode> getPreviousExprNodes()
public java.lang.String getViewName()
ViewFactory
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |