public final class SkipToNextStrategy extends AfterMatchSkipStrategy
| 限定符和类型 | 字段和说明 |
|---|---|
static SkipToNextStrategy |
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
protected EventId |
getPruningId(Collection<Map<String,List<EventId>>> match)
Retrieves event id of the pruning element from the given match based on the strategy.
|
boolean |
isSkipStrategy()
Tells if the strategy may skip some matches.
|
protected boolean |
shouldPrune(EventId startEventID,
EventId pruningId)
Tells if the partial/completed match starting at given id should be prunned by given
pruningId.
|
String |
toString() |
getPatternName, noSkip, prune, skipPastLastEvent, skipToFirst, skipToLast, skipToNextpublic static final SkipToNextStrategy INSTANCE
protected EventId getPruningId(Collection<Map<String,List<EventId>>> match)
AfterMatchSkipStrategygetPruningId 在类中 AfterMatchSkipStrategymatch - match corresponding to which should the pruning happenpublic final boolean isSkipStrategy()
AfterMatchSkipStrategyisSkipStrategy 在类中 AfterMatchSkipStrategyprotected final boolean shouldPrune(EventId startEventID, EventId pruningId)
AfterMatchSkipStrategyshouldPrune 在类中 AfterMatchSkipStrategystartEventID - starting event id of a partial/completed matchpruningId - pruningId calculated by this strategyCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.