|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.pattern.EvalNodeFactoryBase
com.espertech.esper.pattern.EvalFilterFactoryNode
public class EvalFilterFactoryNode
This class represents a filter of events in the evaluation tree representing any event expressions.
Constructor Summary | |
---|---|
protected |
EvalFilterFactoryNode(FilterSpecRaw filterSpecification,
java.lang.String eventAsName,
java.lang.Integer consumptionLevel)
Constructor. |
Method Summary | |
---|---|
java.lang.Integer |
getConsumptionLevel()
|
java.lang.String |
getEventAsName()
Returns the tag for any matching events to this filter, or null since tags are optional. |
int |
getEventAsTagNumber()
|
FilterSpecCompiled |
getFilterSpec()
Returns filter specification. |
PatternExpressionPrecedenceEnum |
getPrecedence()
Returns precendence. |
FilterSpecRaw |
getRawFilterSpec()
Returns the raw (unoptimized/validated) filter definition. |
boolean |
isFilterChildNonQuitting()
|
boolean |
isStateful()
|
EvalNode |
makeEvalNode(PatternAgentInstanceContext agentInstanceContext)
|
void |
setEventAsTagNumber(int eventAsTagNumber)
|
void |
setFilterSpec(FilterSpecCompiled filterSpec)
Sets a validated and optimized filter specification |
void |
toPrecedenceFreeEPL(java.io.StringWriter writer)
|
java.lang.String |
toString()
|
Methods inherited from class com.espertech.esper.pattern.EvalNodeFactoryBase |
---|
addChildNode, addChildNodes, getChildNodes, getFactoryNodeId, setFactoryNodeId, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected EvalFilterFactoryNode(FilterSpecRaw filterSpecification, java.lang.String eventAsName, java.lang.Integer consumptionLevel)
filterSpecification
- specifies the filter propertieseventAsName
- is the name to use for adding matching events to the MatchedEventMap
table used when indicating truth value of true.Method Detail |
---|
public EvalNode makeEvalNode(PatternAgentInstanceContext agentInstanceContext)
makeEvalNode
in interface EvalFactoryNode
makeEvalNode
in class EvalNodeFactoryBase
public FilterSpecRaw getRawFilterSpec()
public final FilterSpecCompiled getFilterSpec()
public void setFilterSpec(FilterSpecCompiled filterSpec)
filterSpec
- is the optimized filterpublic final java.lang.String getEventAsName()
public java.lang.Integer getConsumptionLevel()
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean isFilterChildNonQuitting()
public int getEventAsTagNumber()
public void setEventAsTagNumber(int eventAsTagNumber)
public boolean isStateful()
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
toPrecedenceFreeEPL
in class EvalNodeFactoryBase
public PatternExpressionPrecedenceEnum getPrecedence()
EvalFactoryNode
|
© 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 |