Class MatchRecognizeClause
java.lang.Object
com.espertech.esper.common.client.soda.MatchRecognizeClause
- All Implemented Interfaces:
Serializable
Match-recognize clause.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the defines-clauseReturns the interval clause.Returns measures.Get partition expressions.Returns regex-pattern.Returns skip-clause.boolean
isAll()
Indicator whether all matches.void
setAll
(boolean all) Sets indicator whether all matches.void
setDefines
(List<MatchRecognizeDefine> defines) Sets the defines-clausevoid
setIntervalClause
(MatchRecognizeIntervalClause intervalClause) Sets the interval clause.void
setMeasures
(List<SelectClauseExpression> measures) Sets measures.void
setPartitionExpressions
(List<Expression> partitionExpressions) Set partition expressions.void
setPattern
(MatchRecognizeRegEx pattern) Sets regex-pattern.void
setSkipClause
(MatchRecognizeSkipClause skipClause) Sets the skip-clause.void
toEPL
(StringWriter writer) Renders the clause in textual representation.
-
Constructor Details
-
MatchRecognizeClause
public MatchRecognizeClause()Ctor.
-
-
Method Details
-
toEPL
Renders the clause in textual representation.- Parameters:
writer
- to output to
-
getPartitionExpressions
Get partition expressions.- Returns:
- partition expressions
-
setPartitionExpressions
Set partition expressions.- Parameters:
partitionExpressions
- partition expressions
-
getMeasures
Returns measures.- Returns:
- measures
-
setMeasures
Sets measures.- Parameters:
measures
- to set
-
isAll
public boolean isAll()Indicator whether all matches.- Returns:
- all matches
-
setAll
public void setAll(boolean all) Sets indicator whether all matches.- Parameters:
all
- all matches
-
getSkipClause
Returns skip-clause.- Returns:
- skip-clause
-
setSkipClause
Sets the skip-clause.- Parameters:
skipClause
- to set
-
getDefines
Returns the defines-clause- Returns:
- defines-clause
-
setDefines
Sets the defines-clause- Parameters:
defines
- to set
-
getIntervalClause
Returns the interval clause.- Returns:
- interval clause
-
setIntervalClause
Sets the interval clause.- Parameters:
intervalClause
- interval clause
-
getPattern
Returns regex-pattern.- Returns:
- pattern
-
setPattern
Sets regex-pattern.- Parameters:
pattern
- to set
-