|
||||||||||
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 java.lang.String |
escapeDot(java.lang.String identifierToEscape)
Escape all unescape dot characters in the text (identifier only) passed in. |
static Pair<java.lang.String,java.lang.String> |
getMappedPropertyPair(org.antlr.runtime.tree.Tree node)
|
protected static java.lang.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(java.lang.String identifier)
Find the index of an unescaped dot (.) character, or return -1 if none found. |
static java.lang.String |
unescapeDot(java.lang.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 java.lang.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
public static Pair<java.lang.String,java.lang.String> getMappedPropertyPair(org.antlr.runtime.tree.Tree node)
protected static java.lang.String escapeDot(java.lang.String identifierToEscape)
identifierToEscape
- text to escape
public static int unescapedIndexOfDot(java.lang.String identifier)
identifier
- text to find an un-escaped dot character
public static java.lang.String unescapeDot(java.lang.String identifierToUnescape)
identifierToUnescape
- text to un-escape
|
© 2006-2014 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 |