Package org.apache.flink.cep.pattern
Class Quantifier
java.lang.Object
org.apache.flink.cep.pattern.Quantifier
A quantifier describing the Pattern. There are three main groups of
Quantifier.
- Single
- Looping
- Times
Each Pattern can be optional and have a Quantifier.ConsumingStrategy. Looping and Times
also hava an additional inner consuming strategy that is applied between accepted events in the
pattern.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes strategy for which events are matched in thisPattern.static enumProperties that aQuantifiercan have.static classDescribe the times thisPatterncan occur. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanvoidgreedy()inthashCode()booleanhasProperty(Quantifier.QuantifierProperty property) static Quantifierlooping(Quantifier.ConsumingStrategy consumingStrategy) static Quantifierone(Quantifier.ConsumingStrategy consumingStrategy) voidoptional()static Quantifiertimes(Quantifier.ConsumingStrategy consumingStrategy) toString()
-
Method Details
-
one
-
looping
-
times
-
hasProperty
-
getInnerConsumingStrategy
-
getConsumingStrategy
-
combinations
public void combinations() -
consecutive
public void consecutive() -
optional
public void optional() -
greedy
public void greedy() -
equals
-
hashCode
public int hashCode() -
toString
-