Java Code Examples for org.apache.flink.cep.pattern.Quantifier.ConsumingStrategy#SKIP_TILL_ANY

The following examples show how to use org.apache.flink.cep.pattern.Quantifier.ConsumingStrategy#SKIP_TILL_ANY . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Pattern.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Appends a new pattern to the existing one. The new pattern enforces non-strict
 * temporal contiguity. This means that a matching event of this pattern and the
 * preceding matching event might be interleaved with other events which are ignored.
 *
 * @param name Name of the new pattern
 * @return A new pattern which is appended to this one
 */
public Pattern<T, T> followedByAny(final String name) {
	return new Pattern<>(name, this, ConsumingStrategy.SKIP_TILL_ANY, afterMatchSkipStrategy);
}
 
Example 2
Source File: Pattern.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Appends a new group pattern to the existing one. The new pattern enforces non-strict
 * temporal contiguity. This means that a matching event of this pattern and the
 * preceding matching event might be interleaved with other events which are ignored.
 *
 * @param group the pattern to append
 * @return A new pattern which is appended to this one
 */
public GroupPattern<T, F> followedByAny(Pattern<T, F> group) {
	return new GroupPattern<>(this, group, ConsumingStrategy.SKIP_TILL_ANY, afterMatchSkipStrategy);
}
 
Example 3
Source File: Pattern.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Appends a new pattern to the existing one. The new pattern enforces non-strict
 * temporal contiguity. This means that a matching event of this pattern and the
 * preceding matching event might be interleaved with other events which are ignored.
 *
 * @param name Name of the new pattern
 * @return A new pattern which is appended to this one
 */
public Pattern<T, T> followedByAny(final String name) {
	return new Pattern<>(name, this, ConsumingStrategy.SKIP_TILL_ANY, afterMatchSkipStrategy);
}
 
Example 4
Source File: Pattern.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Appends a new group pattern to the existing one. The new pattern enforces non-strict
 * temporal contiguity. This means that a matching event of this pattern and the
 * preceding matching event might be interleaved with other events which are ignored.
 *
 * @param group the pattern to append
 * @return A new pattern which is appended to this one
 */
public GroupPattern<T, F> followedByAny(Pattern<T, F> group) {
	return new GroupPattern<>(this, group, ConsumingStrategy.SKIP_TILL_ANY, afterMatchSkipStrategy);
}
 
Example 5
Source File: Pattern.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Appends a new pattern to the existing one. The new pattern enforces non-strict
 * temporal contiguity. This means that a matching event of this pattern and the
 * preceding matching event might be interleaved with other events which are ignored.
 *
 * @param name Name of the new pattern
 * @return A new pattern which is appended to this one
 */
public Pattern<T, T> followedByAny(final String name) {
	return new Pattern<>(name, this, ConsumingStrategy.SKIP_TILL_ANY, afterMatchSkipStrategy);
}
 
Example 6
Source File: Pattern.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Appends a new group pattern to the existing one. The new pattern enforces non-strict
 * temporal contiguity. This means that a matching event of this pattern and the
 * preceding matching event might be interleaved with other events which are ignored.
 *
 * @param group the pattern to append
 * @return A new pattern which is appended to this one
 */
public GroupPattern<T, F> followedByAny(Pattern<T, F> group) {
	return new GroupPattern<>(this, group, ConsumingStrategy.SKIP_TILL_ANY, afterMatchSkipStrategy);
}