|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.PatternExprBase
public abstract class PatternExprBase
Abstract base class for all pattern expressions.
Constructor Summary | |
---|---|
protected |
PatternExprBase()
Ctor. |
Method Summary | |
---|---|
protected void |
addChild(PatternExpr expression)
Adds a sub-expression to the pattern expression. |
java.util.List<PatternExpr> |
getChildren()
Returns the list of pattern sub-expressions (child expressions) to the current pattern expression node. |
java.lang.String |
getTreeObjectName()
Returns the id for the pattern expression, for use by tools. |
void |
setChildren(java.util.List<PatternExpr> children)
Sets the list of pattern sub-expressions (child expressions) to the current pattern expression node. |
void |
setTreeObjectName(java.lang.String treeObjectName)
Sets and id for the pattern expression, for use by tools. |
void |
toEPL(java.io.StringWriter writer,
PatternExprPrecedenceEnum parentPrecedence,
EPStatementFormatter formatter)
Renders the pattern expression and all it's child expressions, in full tree depth, as a string in language syntax. |
abstract void |
toPrecedenceFreeEPL(java.io.StringWriter writer,
EPStatementFormatter formatter)
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.client.soda.PatternExpr |
---|
getPrecedence |
Constructor Detail |
---|
protected PatternExprBase()
Method Detail |
---|
public java.lang.String getTreeObjectName()
PatternExpr
getTreeObjectName
in interface PatternExpr
public void setTreeObjectName(java.lang.String treeObjectName)
PatternExpr
setTreeObjectName
in interface PatternExpr
treeObjectName
- idpublic java.util.List<PatternExpr> getChildren()
PatternExpr
getChildren
in interface PatternExpr
public void setChildren(java.util.List<PatternExpr> children)
PatternExpr
setChildren
in interface PatternExpr
children
- pattern child expressions or empty list if there are no child expressionsprotected void addChild(PatternExpr expression)
expression
- to addpublic final void toEPL(java.io.StringWriter writer, PatternExprPrecedenceEnum parentPrecedence, EPStatementFormatter formatter)
PatternExpr
toEPL
in interface PatternExpr
writer
- is the output to useparentPrecedence
- precedenceformatter
- formatterpublic abstract void toPrecedenceFreeEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
writer
- is the output to useformatter
- for newline-whitespace formatting
|
© 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 |