com.espertech.esper.epl.parse
Class ASTFilterSpecHelper

java.lang.Object
  extended by com.espertech.esper.epl.parse.ASTFilterSpecHelper

public class ASTFilterSpecHelper
extends Object

Builds a filter specification from filter AST nodes.


Constructor Summary
ASTFilterSpecHelper()
           
 
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
 

Constructor Detail

ASTFilterSpecHelper

public ASTFilterSpecHelper()
Method Detail

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 at
startIndex - 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'.

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com