com.espertech.esper.client.soda
Class RegExpExpression

java.lang.Object
  extended by com.espertech.esper.client.soda.ExpressionBase
      extended by com.espertech.esper.client.soda.RegExpExpression
All Implemented Interfaces:
Expression, Serializable

public class RegExpExpression
extends ExpressionBase

Regular expression evaluates a "regexp" regular expression.

See Also:
Serialized Form

Constructor Summary
RegExpExpression()
          Ctor - for use to create an expression tree, without child expression.
RegExpExpression(Expression left, Expression right)
          Ctor.
RegExpExpression(Expression left, Expression right, Expression escape)
          Ctor.
 
Method Summary
 void toEPL(StringWriter writer)
          Renders the clause in textual representation.
 
Methods inherited from class com.espertech.esper.client.soda.ExpressionBase
addChild, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExpExpression

public RegExpExpression()
Ctor - for use to create an expression tree, without child expression.


RegExpExpression

public RegExpExpression(Expression left,
                        Expression right)
Ctor.

Parameters:
left - provides values to match against regexp string
right - provides the regexp string

RegExpExpression

public RegExpExpression(Expression left,
                        Expression right,
                        Expression escape)
Ctor.

Parameters:
left - provides values to match against regexp string
right - provides the regexp string
escape - provides the escape character
Method Detail

toEPL

public void toEPL(StringWriter writer)
Renders the clause in textual representation.

Parameters:
writer - to output to

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