com.espertech.esper.client.soda
Class PatternFollowedByExpr

java.lang.Object
  extended by com.espertech.esper.client.soda.PatternExprBase
      extended by com.espertech.esper.client.soda.PatternFollowedByExpr
All Implemented Interfaces:
PatternExpr, Serializable

public class PatternFollowedByExpr
extends PatternExprBase

Followed-by for use in pattern expressions.

See Also:
Serialized Form

Constructor Summary
PatternFollowedByExpr()
          Ctor - for use to create a pattern expression tree, without pattern child expression.
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.
 void toEPL(StringWriter writer)
          Renders the pattern expression and all it's child expressions, in full tree depth, as a string in language syntax.
 
Methods inherited from class com.espertech.esper.client.soda.PatternExprBase
addChild, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternFollowedByExpr

public PatternFollowedByExpr()
Ctor - for use to create a pattern expression tree, without pattern child expression.


PatternFollowedByExpr

public PatternFollowedByExpr(PatternExpr first,
                             PatternExpr second,
                             PatternExpr... patternExprs)
Ctor.

Parameters:
first - a first pattern expression in the followed-by relationship
second - a second pattern expression in the followed-by relationship
patternExprs - further optional pattern expressions in the followed-by relationship
Method Detail

add

public PatternFollowedByExpr add(PatternExpr expr)
Adds a pattern expression to the followed-by relationship between patterns.

Parameters:
expr - to add
Returns:
pattern expression

toEPL

public void toEPL(StringWriter writer)
Description copied from interface: PatternExpr
Renders the pattern expression and all it's child expressions, in full tree depth, as a string in language syntax.

Parameters:
writer - is the output to use

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com