|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.parse.ASTFilterSpecHelper
public class ASTFilterSpecHelper
Builds a filter specification from filter AST nodes.
Constructor Summary | |
---|---|
ASTFilterSpecHelper()
|
Method Summary | |
---|---|
protected static String |
escapeDot(String identifierToEscape)
Escape all unescape dot characters in the text (identifier only) passed in. |
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. |
static int |
unescapedIndexOfDot(String identifier)
Find the index of an unescaped dot (.) character, or return -1 if none found. |
static String |
unescapeDot(String identifierToUnescape)
Un-Escape all escaped dot characters in the text (identifier only) passed in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASTFilterSpecHelper()
Method Detail |
---|
protected static String getPropertyName(org.antlr.runtime.tree.Tree parentNode, int startIndex)
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
protected static String escapeDot(String identifierToEscape)
identifierToEscape
- text to escape
public static int unescapedIndexOfDot(String identifier)
identifier
- text to find an un-escaped dot character
public static String unescapeDot(String identifierToUnescape)
identifierToUnescape
- text to un-escape
|
© 2007 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 |