|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.property.PropertyParser
public class PropertyParser
Parser for property names that can be simple, nested, mapped or a combination of these. Uses ANTLR parser to parse.
Constructor Summary | |
---|---|
PropertyParser()
|
Method Summary | |
---|---|
static boolean |
isNestedPropertyWithNonSimpleLead(EsperEPL2GrammarParser.EventPropertyContext ctx)
|
static boolean |
isPropertyDynamic(EsperEPL2GrammarParser.StartEventPropertyRuleContext ast)
Returns true if the property is a dynamic property. |
static EsperEPL2GrammarParser.StartEventPropertyRuleContext |
parse(java.lang.String propertyName)
Parses a given property name returning an AST. |
static Property |
parseAndWalk(java.lang.String property)
|
static Property |
parseAndWalk(java.lang.String property,
boolean isRootedDynamic)
|
static java.lang.String |
unescapeBacktick(java.lang.String unescapedPropertyName)
|
static Property |
walk(EsperEPL2GrammarParser.StartEventPropertyRuleContext tree,
boolean isRootedDynamic)
Parse the given property name returning a Property instance for the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyParser()
Method Detail |
---|
public static Property parseAndWalk(java.lang.String property, boolean isRootedDynamic)
public static Property parseAndWalk(java.lang.String property)
public static Property walk(EsperEPL2GrammarParser.StartEventPropertyRuleContext tree, boolean isRootedDynamic)
isRootedDynamic
- is true to indicate that the property is already rooted in a dynamic
property and therefore all child properties should be dynamic properties as well
public static EsperEPL2GrammarParser.StartEventPropertyRuleContext parse(java.lang.String propertyName)
propertyName
- to parse
public static boolean isPropertyDynamic(EsperEPL2GrammarParser.StartEventPropertyRuleContext ast)
ast
- property ast
public static java.lang.String unescapeBacktick(java.lang.String unescapedPropertyName)
public static boolean isNestedPropertyWithNonSimpleLead(EsperEPL2GrammarParser.EventPropertyContext ctx)
|
© 2006-2015 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 |