com.espertech.esper.client.soda
Class MatchRecognizeRegExAtom

java.lang.Object
  extended by com.espertech.esper.client.soda.MatchRecognizeRegEx
      extended by com.espertech.esper.client.soda.MatchRecognizeRegExAtom
All Implemented Interfaces:
java.io.Serializable

public class MatchRecognizeRegExAtom
extends MatchRecognizeRegEx
implements java.io.Serializable

Atom representing an expression for use in match-recognize.

Event row regular expressions are organized into a tree-like structure with nodes representing sub-expressions.

See Also:
Serialized Form

Constructor Summary
MatchRecognizeRegExAtom()
          Ctor.
MatchRecognizeRegExAtom(java.lang.String name, MatchRecogizePatternElementType type)
          Ctor.
MatchRecognizeRegExAtom(java.lang.String name, MatchRecogizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat)
          Ctor.
 
Method Summary
 java.lang.String getName()
          Returns variable name.
 MatchRecognizeRegExRepeat getOptionalRepeat()
          Returns the repetition if any is defined
 MatchRecogizePatternElementType getType()
          Returns multiplicity.
 void setName(java.lang.String name)
          Sets variable name.
 void setOptionalRepeat(MatchRecognizeRegExRepeat optionalRepeat)
          Sets the repetition.
 void setType(MatchRecogizePatternElementType type)
          Sets multiplicity.
 void writeEPL(java.io.StringWriter writer)
          Write EPL.
 
Methods inherited from class com.espertech.esper.client.soda.MatchRecognizeRegEx
getChildren, getTreeObjectName, setChildren, setTreeObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchRecognizeRegExAtom

public MatchRecognizeRegExAtom()
Ctor.


MatchRecognizeRegExAtom

public MatchRecognizeRegExAtom(java.lang.String name,
                               MatchRecogizePatternElementType type)
Ctor.

Parameters:
name - of variable
type - multiplicity

MatchRecognizeRegExAtom

public MatchRecognizeRegExAtom(java.lang.String name,
                               MatchRecogizePatternElementType type,
                               MatchRecognizeRegExRepeat optionalRepeat)
Ctor.

Parameters:
name - of variable
type - multiplicity
optionalRepeat - repetition
Method Detail

getName

public java.lang.String getName()
Returns variable name.

Returns:
name

setName

public void setName(java.lang.String name)
Sets variable name.

Parameters:
name - variable name to set

getType

public MatchRecogizePatternElementType getType()
Returns multiplicity.

Returns:
multiplicity

setType

public void setType(MatchRecogizePatternElementType type)
Sets multiplicity.

Parameters:
type - multiplicity

getOptionalRepeat

public MatchRecognizeRegExRepeat getOptionalRepeat()
Returns the repetition if any is defined

Returns:
repetition

setOptionalRepeat

public void setOptionalRepeat(MatchRecognizeRegExRepeat optionalRepeat)
Sets the repetition.

Parameters:
optionalRepeat - repetition to set

writeEPL

public void writeEPL(java.io.StringWriter writer)
Description copied from class: MatchRecognizeRegEx
Write EPL.

Specified by:
writeEPL in class MatchRecognizeRegEx
Parameters:
writer - to use

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com