com.espertech.esper.epl.spec
Class MatchRecognizeSpec

java.lang.Object
  extended by com.espertech.esper.epl.spec.MatchRecognizeSpec
All Implemented Interfaces:
MetaDefItem, java.io.Serializable

public class MatchRecognizeSpec
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

Specification for match_recognize.

See Also:
Serialized Form

Constructor Summary
MatchRecognizeSpec()
          Ctor.
 
Method Summary
 void addDefine(MatchRecognizeDefineItem define)
          Adds a define item.
 void addMeasureItem(MatchRecognizeMeasureItem item)
          Add a measure item.
 java.util.List<MatchRecognizeDefineItem> getDefines()
          Returns the define items.
 MatchRecognizeInterval getInterval()
          Interval part of null.
 java.util.List<MatchRecognizeMeasureItem> getMeasures()
          Returns measures.
 java.util.List<ExprNode> getPartitionByExpressions()
          Returns partition expressions.
 RowRegexExprNode getPattern()
          Returns the pattern.
 MatchRecognizeSkip getSkip()
          Returns the skip.
 boolean isAllMatches()
          True for all-matches.
 void setAllMatches(boolean allMatches)
          Set to true for all-matches.
 void setDefines(java.util.List<MatchRecognizeDefineItem> defines)
          Set defines.
 void setInterval(MatchRecognizeInterval interval)
          Sets the interval.
 void setMeasures(java.util.List<MatchRecognizeMeasureItem> measures)
          Set measures.
 void setPartitionByExpressions(java.util.List<ExprNode> partitionByExpressions)
          Returns partition expressions.
 void setPattern(RowRegexExprNode pattern)
          Sets the pattern.
 void setSkip(MatchRecognizeSkip skip)
          Sets the skip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchRecognizeSpec

public MatchRecognizeSpec()
Ctor.

Method Detail

getInterval

public MatchRecognizeInterval getInterval()
Interval part of null.

Returns:
interval

setInterval

public void setInterval(MatchRecognizeInterval interval)
Sets the interval.

Parameters:
interval - to set

isAllMatches

public boolean isAllMatches()
True for all-matches.

Returns:
indicator all-matches

setAllMatches

public void setAllMatches(boolean allMatches)
Set to true for all-matches.

Parameters:
allMatches - indicator all-matches

getPartitionByExpressions

public java.util.List<ExprNode> getPartitionByExpressions()
Returns partition expressions.

Returns:
partition expressions

setPartitionByExpressions

public void setPartitionByExpressions(java.util.List<ExprNode> partitionByExpressions)
Returns partition expressions.

Parameters:
partitionByExpressions - partition expressions

addMeasureItem

public void addMeasureItem(MatchRecognizeMeasureItem item)
Add a measure item.

Parameters:
item - to add

getDefines

public java.util.List<MatchRecognizeDefineItem> getDefines()
Returns the define items.

Returns:
define items

setPattern

public void setPattern(RowRegexExprNode pattern)
Sets the pattern.

Parameters:
pattern - to set

addDefine

public void addDefine(MatchRecognizeDefineItem define)
Adds a define item.

Parameters:
define - to add

getMeasures

public java.util.List<MatchRecognizeMeasureItem> getMeasures()
Returns measures.

Returns:
measures

getPattern

public RowRegexExprNode getPattern()
Returns the pattern.

Returns:
pattern

getSkip

public MatchRecognizeSkip getSkip()
Returns the skip.

Returns:
skip

setSkip

public void setSkip(MatchRecognizeSkip skip)
Sets the skip.

Parameters:
skip - to set

setMeasures

public void setMeasures(java.util.List<MatchRecognizeMeasureItem> measures)
Set measures.

Parameters:
measures - to set

setDefines

public void setDefines(java.util.List<MatchRecognizeDefineItem> defines)
Set defines.

Parameters:
defines - to set

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