|
||||||||||
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.PatternMatchUntilExpr
public class PatternMatchUntilExpr
Match-Until construct for use in pattern expressions.
Constructor Summary | |
---|---|
PatternMatchUntilExpr()
Ctor - for use to create a pattern expression tree, without pattern child expression. |
|
PatternMatchUntilExpr(Expression single)
Ctor. |
|
PatternMatchUntilExpr(Expression low,
Expression high,
Expression single)
Ctor - for use when adding required child nodes later. |
|
PatternMatchUntilExpr(Expression low,
Expression high,
PatternExpr match,
PatternExpr until)
Ctor. |
Method Summary | |
---|---|
Expression |
getHigh()
Returns the optional high endpoint for the repeat, or null if none supplied. |
Expression |
getLow()
Returns the optional low endpoint for the repeat, or null if none supplied. |
PatternExprPrecedenceEnum |
getPrecedence()
Returns the precedence. |
Expression |
getSingle()
Returns the single-bounds expression. |
void |
setHigh(Expression high)
Sets the optional high endpoint for the repeat, or null if none supplied. |
void |
setLow(Expression low)
Sets the optional low endpoint for the repeat, or null if none supplied. |
void |
setSingle(Expression single)
Sets the single-bound expression. |
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 PatternMatchUntilExpr()
public PatternMatchUntilExpr(Expression low, Expression high, Expression single)
low
- - low number of matches, or null if no lower boundaryhigh
- - high number of matches, or null if no high boundarysingle
- - if a single bound is provided, this carries the single bound (all others should be null)public PatternMatchUntilExpr(Expression single)
single
- the single bound expressionpublic PatternMatchUntilExpr(Expression low, Expression high, PatternExpr match, PatternExpr until)
low
- - low number of matches, or null if no lower boundaryhigh
- - high number of matches, or null if no high boundarymatch
- - the pattern expression that is sought to match repeatedlyuntil
- - the pattern expression that ends matching (optional, can be null)Method Detail |
---|
public Expression getLow()
public void setLow(Expression low)
low
- - low endpoint to setpublic Expression getHigh()
public Expression getSingle()
public void setSingle(Expression single)
single
- single-bound expressionpublic void setHigh(Expression high)
high
- - high endpoint to setpublic PatternExprPrecedenceEnum getPrecedence()
PatternExpr
public 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 |