Package org.apache.flink.cep.pattern
Class GroupPattern<T,F extends T>
java.lang.Object
org.apache.flink.cep.pattern.Pattern<T,F>
org.apache.flink.cep.pattern.GroupPattern<T,F>
- Type Parameters:
T- Base type of the elements appearing in the patternF- Subtype of T to which the current pattern operator is constrained
Base class for a group pattern definition.
-
Method Summary
Modifier and TypeMethodDescriptionor(IterativeCondition<F> condition) Adds a condition that has to be satisfied by an event in order to be considered a match.Applies a subtype constraint on the current pattern.where(IterativeCondition<F> condition) Adds a condition that has to be satisfied by an event in order to be considered a match.Methods inherited from class org.apache.flink.cep.pattern.Pattern
allowCombinations, begin, begin, begin, begin, consecutive, followedBy, followedBy, followedByAny, followedByAny, getAfterMatchSkipStrategy, getCondition, getName, getPrevious, getQuantifier, getTimes, getUntilCondition, getWindowSize, getWindowSize, greedy, next, next, notFollowedBy, notNext, oneOrMore, oneOrMore, optional, times, times, times, times, timesOrMore, timesOrMore, toString, until, within, within
-
Method Details
-
where
Description copied from class:PatternAdds a condition that has to be satisfied by an event in order to be considered a match. If another condition has already been set, the new one is going to be combined with the previous with a logicalAND. In other case, this is going to be the only condition. -
or
Description copied from class:PatternAdds a condition that has to be satisfied by an event in order to be considered a match. If another condition has already been set, the new one is going to be combined with the previous with a logicalOR. In other case, this is going to be the only condition. -
subtype
Description copied from class:PatternApplies a subtype constraint on the current pattern. This means that an event has to be of the given subtype in order to be matched. -
getRawPattern
-