|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.core.ExprNodeBase
com.espertech.esper.epl.expression.funcs.ExprPlugInSingleRowNode
public class ExprPlugInSingleRowNode
Represents an invocation of a plug-in single-row function in the expression tree.
Constructor Summary | |
---|---|
ExprPlugInSingleRowNode(java.lang.String functionName,
java.lang.Class clazz,
java.util.List<ExprChainedSpec> chainSpec,
EngineImportSingleRowDesc config)
Ctor. |
Method Summary | |
---|---|
void |
accept(ExprNodeVisitor visitor)
Accept the visitor. |
void |
accept(ExprNodeVisitorWithParent visitor)
Accept the visitor. |
void |
acceptChildnodes(ExprNodeVisitorWithParent visitor,
ExprNode parent)
Accept a visitor that receives both parent and child node. |
boolean |
equalsNode(ExprNode node)
Return true if a expression node semantically equals the current node, or false if not. |
java.util.List<ExprNode> |
getAdditionalNodes()
|
java.util.List<ExprChainedSpec> |
getChainSpec()
|
ExprEvaluator |
getExprEvaluator()
|
FilterSpecLookupable |
getFilterLookupable()
|
boolean |
getFilterLookupEligible()
|
java.lang.String |
getFunctionName()
|
ExprPrecedenceEnum |
getPrecedence()
Returns precedence. |
boolean |
isConstantResult()
Returns true if the expression node's evaluation value doesn't depend on any events data, as must be determined at validation time, which is bottom-up and therefore reliably allows each node to determine constant value. |
void |
replaceUnlistedChildNode(ExprNode nodeToReplace,
ExprNode newNode)
|
void |
toPrecedenceFreeEPL(java.io.StringWriter writer)
|
ExprNode |
validate(ExprValidationContext validationContext)
|
Methods inherited from class com.espertech.esper.epl.expression.core.ExprNodeBase |
---|
addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, setChildNode, setChildNodes, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprPlugInSingleRowNode(java.lang.String functionName, java.lang.Class clazz, java.util.List<ExprChainedSpec> chainSpec, EngineImportSingleRowDesc config)
chainSpec
- - the class and name of the method that this node will invoke plus parametersMethod Detail |
---|
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprNode
public java.util.List<ExprChainedSpec> getChainSpec()
public boolean isConstantResult()
ExprNode
isConstantResult
in interface ExprNode
public java.lang.String getFunctionName()
public boolean getFilterLookupEligible()
getFilterLookupEligible
in interface ExprFilterOptimizableNode
public FilterSpecLookupable getFilterLookupable()
getFilterLookupable
in interface ExprFilterOptimizableNode
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
toPrecedenceFreeEPL
in class ExprNodeBase
public ExprPrecedenceEnum getPrecedence()
ExprNode
getPrecedence
in interface ExprNode
public boolean equalsNode(ExprNode node)
ExprNode
Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
equalsNode
in interface ExprNode
node
- to compare to
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public void accept(ExprNodeVisitor visitor)
ExprNode
The visitor can decide to skip child nodes by returning false in isVisit.
accept
in interface ExprNode
accept
in class ExprNodeBase
visitor
- to visit each node and each child node.public void accept(ExprNodeVisitorWithParent visitor)
ExprNode
The visitor can decide to skip child nodes by returning false in isVisit.
accept
in interface ExprNode
accept
in class ExprNodeBase
visitor
- to visit each node and each child node.public void acceptChildnodes(ExprNodeVisitorWithParent visitor, ExprNode parent)
ExprNode
acceptChildnodes
in interface ExprNode
acceptChildnodes
in class ExprNodeBase
visitor
- to applyparent
- nodepublic void replaceUnlistedChildNode(ExprNode nodeToReplace, ExprNode newNode)
replaceUnlistedChildNode
in interface ExprNode
replaceUnlistedChildNode
in class ExprNodeBase
public java.util.List<ExprNode> getAdditionalNodes()
getAdditionalNodes
in interface ExprNodeInnerNodeProvider
|
© 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 |