Class ExprPlugInSingleRowNode
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.funcs.ExprPlugInSingleRowNode
- All Implemented Interfaces:
ExprFilterOptimizableNode
,ExprNode
,ExprNodeInnerNodeProvider
,ExprNodeRenderable
,ExprNodeWithChainSpec
,ExprValidator
public class ExprPlugInSingleRowNode
extends ExprNodeBase
implements ExprFilterOptimizableNode, ExprNodeInnerNodeProvider, ExprNodeWithChainSpec
Represents an invocation of a plug-in single-row function in the expression tree.
-
Constructor Summary
ConstructorDescriptionExprPlugInSingleRowNode
(String functionName, Class clazz, List<Chainable> chainSpec, ClasspathImportSingleRowDesc config) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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, boolean ignoreStreamPrefix) Return true if a expression node semantically equals the current node, or false if not.boolean
getForge()
Returns precedence.boolean
void
replaceUnlistedChildNode
(ExprNode nodeToReplace, ExprNode newNode) void
toPrecedenceFreeEPL
(StringWriter writer, ExprNodeRenderableFlags flags) validate
(ExprValidationContext validationContext) Methods inherited from class com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, setChildNode, setChildNodes, toEPL
-
Constructor Details
-
ExprPlugInSingleRowNode
public ExprPlugInSingleRowNode(String functionName, Class clazz, List<Chainable> chainSpec, ClasspathImportSingleRowDesc config)
-
-
Method Details
-
getExprEvaluator
-
getForge
-
getChainSpec
- Specified by:
getChainSpec
in interfaceExprNodeWithChainSpec
-
getFunctionName
-
getFilterLookupEligible
public boolean getFilterLookupEligible()- Specified by:
getFilterLookupEligible
in interfaceExprFilterOptimizableNode
-
getFilterLookupable
- Specified by:
getFilterLookupable
in interfaceExprFilterOptimizableNode
-
toPrecedenceFreeEPL
- Specified by:
toPrecedenceFreeEPL
in classExprNodeBase
-
getPrecedence
Description copied from interface:ExprNode
Returns precedence.- Specified by:
getPrecedence
in interfaceExprNode
- Returns:
- precedence
-
equalsNode
Description copied from interface:ExprNode
Return true if a expression node semantically equals the current node, or false if not.Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
- Specified by:
equalsNode
in interfaceExprNode
- Parameters:
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event properties- Returns:
- true if semantically equal, or false if not equals
-
validate
- Specified by:
validate
in interfaceExprValidator
- Throws:
ExprValidationException
-
accept
Description copied from interface:ExprNode
Accept the visitor. The visitor will first visit the parent then visit all child nodes, then their child nodes.The visitor can decide to skip child nodes by returning false in isVisit.
- Specified by:
accept
in interfaceExprNode
- Overrides:
accept
in classExprNodeBase
- Parameters:
visitor
- to visit each node and each child node.
-
accept
Description copied from interface:ExprNode
Accept the visitor. The visitor will first visit the parent then visit all child nodes, then their child nodes.The visitor can decide to skip child nodes by returning false in isVisit.
- Specified by:
accept
in interfaceExprNode
- Overrides:
accept
in classExprNodeBase
- Parameters:
visitor
- to visit each node and each child node.
-
acceptChildnodes
Description copied from interface:ExprNode
Accept a visitor that receives both parent and child node.- Specified by:
acceptChildnodes
in interfaceExprNode
- Overrides:
acceptChildnodes
in classExprNodeBase
- Parameters:
visitor
- to applyparent
- node
-
replaceUnlistedChildNode
- Specified by:
replaceUnlistedChildNode
in interfaceExprNode
- Overrides:
replaceUnlistedChildNode
in classExprNodeBase
-
getAdditionalNodes
- Specified by:
getAdditionalNodes
in interfaceExprNodeInnerNodeProvider
-
getConfig
-
isLocalInlinedClass
public boolean isLocalInlinedClass()
-