[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Replace all instances of the node representing the alias with the full expression.

Namespace: net.esper.eql.core
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Swap ( _
	exprTree As ExprNode, _
	alias As String, _
	fullExpr As ExprNode _
) As ExprNode
C#
public static ExprNode Swap (
	ExprNode exprTree,
	string alias,
	ExprNode fullExpr
)
Visual C++
public:
static ExprNode^ Swap (
	ExprNode^ exprTree, 
	String^ alias, 
	ExprNode^ fullExpr
)

Parameters

exprTree
net.esper.eql.expression.ExprNode
the expression node tree to make the changes in
alias
System.String
the select-clause alias that is to be expanded
fullExpr
net.esper.eql.expression.ExprNode
the full expression that the alias represents

Return Value

exprTree with the appropriate swaps performed, or fullExpr, if all of exprTree needed to be swapped