Class MatchRecognizeRegExAtom
java.lang.Object
com.espertech.esper.common.client.soda.MatchRecognizeRegEx
com.espertech.esper.common.client.soda.MatchRecognizeRegExAtom
- All Implemented Interfaces:
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:
-
Constructor Summary
ConstructorDescriptionCtor.Ctor.MatchRecognizeRegExAtom
(String name, MatchRecogizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns variable name.Returns the repetition if any is definedgetType()
Returns multiplicity.void
Sets variable name.void
setOptionalRepeat
(MatchRecognizeRegExRepeat optionalRepeat) Sets the repetition.void
Sets multiplicity.void
writeEPL
(StringWriter writer) Write EPL.Methods inherited from class com.espertech.esper.common.client.soda.MatchRecognizeRegEx
getChildren, getTreeObjectName, setChildren, setTreeObjectName
-
Constructor Details
-
MatchRecognizeRegExAtom
public MatchRecognizeRegExAtom()Ctor. -
MatchRecognizeRegExAtom
Ctor.- Parameters:
name
- of variabletype
- multiplicity
-
MatchRecognizeRegExAtom
public MatchRecognizeRegExAtom(String name, MatchRecogizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat) Ctor.- Parameters:
name
- of variabletype
- multiplicityoptionalRepeat
- repetition
-
-
Method Details
-
getName
Returns variable name.- Returns:
- name
-
setName
Sets variable name.- Parameters:
name
- variable name to set
-
getType
Returns multiplicity.- Returns:
- multiplicity
-
setType
Sets multiplicity.- Parameters:
type
- multiplicity
-
getOptionalRepeat
Returns the repetition if any is defined- Returns:
- repetition
-
setOptionalRepeat
Sets the repetition.- Parameters:
optionalRepeat
- repetition to set
-
writeEPL
Description copied from class:MatchRecognizeRegEx
Write EPL.- Specified by:
writeEPL
in classMatchRecognizeRegEx
- Parameters:
writer
- to use
-