|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.ExprNodeBase
com.espertech.esper.epl.declexpr.ExprDeclaredNodeImpl
public class ExprDeclaredNodeImpl
Expression instance as declared elsewhere.
Constructor Summary | |
---|---|
ExprDeclaredNodeImpl(ExpressionDeclItem prototype,
java.util.List<ExprNode> chainParameters)
|
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<ExprNode> |
getChainParameters()
|
ExprNode |
getExpressionBodyCopy()
|
ExprEvaluator |
getExprEvaluator()
|
FilterSpecLookupable |
getFilterLookupable()
|
boolean |
getFilterLookupEligible()
|
ExpressionDeclItem |
getPrototype()
|
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 |
setSubselectOuterStreamNames(java.lang.String[] outerStreamNames,
EventType[] outerEventTypesSelect,
java.lang.String[] outerEventTypeNames,
java.lang.String engineURI,
ExprSubselectNode subselect,
java.lang.String subexpressionStreamName,
EventType subselectStreamType,
java.lang.String subselecteventTypeName)
Received indication of the streams and types available before sub-selects are started and expression validation occurs. |
java.lang.String |
toExpressionString()
Returns the expression node rendered as a string. |
void |
validate(ExprValidationContext validationContext)
|
boolean |
validated()
|
Methods inherited from class com.espertech.esper.epl.expression.ExprNodeBase |
---|
addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.epl.expression.ExprNode |
---|
addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes |
Constructor Detail |
---|
public ExprDeclaredNodeImpl(ExpressionDeclItem prototype, java.util.List<ExprNode> chainParameters)
Method Detail |
---|
public java.util.List<ExprNode> getAdditionalNodes()
getAdditionalNodes
in interface ExprNodeInnerNodeProvider
public boolean validated()
validated
in interface ExprDeclaredOrLambdaNode
public void setSubselectOuterStreamNames(java.lang.String[] outerStreamNames, EventType[] outerEventTypesSelect, java.lang.String[] outerEventTypeNames, java.lang.String engineURI, ExprSubselectNode subselect, java.lang.String subexpressionStreamName, EventType subselectStreamType, java.lang.String subselecteventTypeName) throws ExprValidationException
setSubselectOuterStreamNames
in interface ExprDeclaredNode
ExprValidationException
public void validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public boolean getFilterLookupEligible()
getFilterLookupEligible
in interface ExprFilterOptimizableNode
public FilterSpecLookupable getFilterLookupable()
getFilterLookupable
in interface ExprFilterOptimizableNode
public boolean isConstantResult()
ExprNode
isConstantResult
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 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 ExprNode getExpressionBodyCopy()
public ExpressionDeclItem getPrototype()
getPrototype
in interface ExprDeclaredNode
public java.util.List<ExprNode> getChainParameters()
getChainParameters
in interface ExprDeclaredNode
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprNode
public java.lang.String toExpressionString()
ExprNode
toExpressionString
in interface ExprNode
|
© 2006-2014 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 |