|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.core.AliasNodeSwapper
public class AliasNodeSwapper
A utility class for replacing select-clause aliases with their definitions in expression node trees.
Constructor Summary | |
---|---|
AliasNodeSwapper()
|
Method Summary | |
---|---|
static ExprNode |
swap(ExprNode exprTree,
java.lang.String alias,
ExprNode fullExpr)
Replace all instances of the node representing the alias with the full expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AliasNodeSwapper()
Method Detail |
---|
public static ExprNode swap(ExprNode exprTree, java.lang.String alias, ExprNode fullExpr)
exprTree
- - the expression node tree to make the changes inalias
- - the select-clause alias that is to be expandedfullExpr
- - the full expression that the alias represents
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |