|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.PatternExprBase
com.espertech.esper.client.soda.PatternFollowedByExpr
public class PatternFollowedByExpr
Followed-by for use in pattern expressions.
Constructor Summary | |
---|---|
PatternFollowedByExpr()
Ctor - for use to create a pattern expression tree, without pattern child expression. |
|
PatternFollowedByExpr(java.util.List<Expression> optionalMaxPerSubexpression)
Ctor. |
|
PatternFollowedByExpr(PatternExpr first,
PatternExpr second,
PatternExpr... patternExprs)
Ctor. |
Method Summary | |
---|---|
PatternFollowedByExpr |
add(PatternExpr expr)
Adds a pattern expression to the followed-by relationship between patterns. |
java.util.List<Expression> |
getOptionalMaxPerSubexpression()
Returns the instance limits, if any, for pattern-subexpressions. |
PatternExprPrecedenceEnum |
getPrecedence()
Returns the precedence. |
void |
setOptionalMaxPerSubexpression(java.util.List<Expression> optionalMaxPerSubexpression)
Sets the instance limits, if any, for pattern-subexpressions. |
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.PatternExprBase |
---|
addChild, getChildren, getTreeObjectName, setChildren, setTreeObjectName, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternFollowedByExpr()
public PatternFollowedByExpr(java.util.List<Expression> optionalMaxPerSubexpression)
optionalMaxPerSubexpression
- if parameterized by a max-limits for each pattern sub-expressionspublic PatternFollowedByExpr(PatternExpr first, PatternExpr second, PatternExpr... patternExprs)
first
- a first pattern expression in the followed-by relationshipsecond
- a second pattern expression in the followed-by relationshippatternExprs
- further optional pattern expressions in the followed-by relationshipMethod Detail |
---|
public PatternFollowedByExpr add(PatternExpr expr)
expr
- to add
public PatternExprPrecedenceEnum getPrecedence()
PatternExpr
public java.util.List<Expression> getOptionalMaxPerSubexpression()
public void setOptionalMaxPerSubexpression(java.util.List<Expression> optionalMaxPerSubexpression)
optionalMaxPerSubexpression
- list of max-limit or nullpublic void toPrecedenceFreeEPL(java.io.StringWriter writer, EPStatementFormatter formatter)
PatternExprBase
toPrecedenceFreeEPL
in class PatternExprBase
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 |