Class NoSkipStrategy
java.lang.Object
org.apache.flink.cep.nfa.aftermatch.AfterMatchSkipStrategy
org.apache.flink.cep.nfa.aftermatch.NoSkipStrategy
- All Implemented Interfaces:
Serializable
Every possible match will be emitted.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprotected EventIdgetPruningId(Collection<Map<String, List<EventId>>> match) Retrieves event id of the pruning element from the given match based on the strategy.booleanTells if the strategy may skip some matches.protected booleanshouldPrune(EventId startEventID, EventId pruningId) Tells if the partial/completed match starting at given id should be prunned by given pruningId.toString()Methods inherited from class org.apache.flink.cep.nfa.aftermatch.AfterMatchSkipStrategy
getPatternName, noSkip, prune, skipPastLastEvent, skipToFirst, skipToLast, skipToNext
-
Method Details
-
isSkipStrategy
public boolean isSkipStrategy()Description copied from class:AfterMatchSkipStrategyTells if the strategy may skip some matches.- Specified by:
isSkipStrategyin classAfterMatchSkipStrategy- Returns:
- false if the strategy is NO_SKIP strategy
-
getPruningId
Description copied from class:AfterMatchSkipStrategyRetrieves event id of the pruning element from the given match based on the strategy.- Specified by:
getPruningIdin classAfterMatchSkipStrategy- Parameters:
match- match corresponding to which should the pruning happen- Returns:
- pruning event id
-
toString
-