|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.EPBaseNamedObject
com.espertech.esper.client.soda.PatternGuardExpr
public class PatternGuardExpr
Guard is the where timer-within pattern object for use in pattern expressions.
Constructor Summary | |
---|---|
PatternGuardExpr(java.lang.String namespace,
java.lang.String name,
Expression[] parameters,
PatternExpr guarded)
Ctor - for use to create a pattern expression tree, without pattern child expression. |
|
PatternGuardExpr(java.lang.String namespace,
java.lang.String name,
java.util.List<Expression> parameters)
Ctor - for use to create a pattern expression tree, without pattern child expression. |
|
PatternGuardExpr(java.lang.String namespace,
java.lang.String name,
java.util.List<Expression> parameters,
PatternExpr guardedPattern)
Ctor - for use to create a pattern expression tree, without pattern child expression. |
Method Summary | |
---|---|
java.util.List<PatternExpr> |
getChildren()
Returns the list of pattern sub-expressions (child expressions) to the current pattern expression node. |
java.util.List<PatternExpr> |
getGuarded()
Get sub expression |
PatternExprPrecedenceEnum |
getPrecedence()
Returns the precedence. |
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 |
setGuarded(java.util.List<PatternExpr> guarded)
Set sub pattern. |
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. |
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 com.espertech.esper.client.soda.EPBaseNamedObject |
---|
getName, getNamespace, getParameters, setName, setNamespace, setParameters, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternGuardExpr(java.lang.String namespace, java.lang.String name, java.util.List<Expression> parameters)
namespace
- is the guard object namespacename
- is the guard object nameparameters
- is guard object parameterspublic PatternGuardExpr(java.lang.String namespace, java.lang.String name, Expression[] parameters, PatternExpr guarded)
namespace
- is the guard object namespacename
- is the guard object nameparameters
- is guard object parametersguarded
- is the guarded pattern expressionpublic PatternGuardExpr(java.lang.String namespace, java.lang.String name, java.util.List<Expression> parameters, PatternExpr guardedPattern)
namespace
- is the guard object namespacename
- is the guard object nameparameters
- is guard object parametersguardedPattern
- is the guarded pattern expressionMethod Detail |
---|
public java.util.List<PatternExpr> getChildren()
PatternExpr
getChildren
in interface PatternExpr
public void setGuarded(java.util.List<PatternExpr> guarded)
guarded
- sub expressionpublic java.util.List<PatternExpr> getGuarded()
public java.lang.String getTreeObjectName()
PatternExpr
getTreeObjectName
in interface PatternExpr
public void setTreeObjectName(java.lang.String treeObjectName)
PatternExpr
setTreeObjectName
in interface PatternExpr
treeObjectName
- idpublic PatternExprPrecedenceEnum getPrecedence()
PatternExpr
getPrecedence
in interface PatternExpr
public final void toEPL(java.io.StringWriter writer, PatternExprPrecedenceEnum parentPrecedence, EPStatementFormatter formatter)
PatternExpr
toEPL
in interface PatternExpr
writer
- is the output to useparentPrecedence
- precedenceformatter
- formatterpublic void toPrecedenceFreeEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
writer
- is the output to useformatter
- for newline-whitespace formattingpublic void setChildren(java.util.List<PatternExpr> children)
PatternExpr
setChildren
in interface PatternExpr
children
- pattern child expressions or empty list if there are no child expressions
|
© 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 |