com.espertech.esper.epl.parse
Class ASTFilterSpecHelper
java.lang.Object
com.espertech.esper.epl.parse.ASTFilterSpecHelper
public class ASTFilterSpecHelper
- extends Object
Builds a filter specification from filter AST nodes.
Method Summary |
protected static String |
getPropertyName(org.antlr.runtime.tree.Tree parentNode,
int startIndex)
Return the generated property name that is defined by the AST child node and it's siblings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTFilterSpecHelper
public ASTFilterSpecHelper()
getPropertyName
protected static String getPropertyName(org.antlr.runtime.tree.Tree parentNode,
int startIndex)
- Return the generated property name that is defined by the AST child node and it's siblings.
- Parameters:
parentNode
- the AST node to consider as the parent for the child nodes to look atstartIndex
- the index of the child node to start looking at
- Returns:
- property name, ie. indexed[1] or mapped('key') or nested.nested or a combination or just 'simple'.