| 程序包 | 说明 |
|---|---|
| org.apache.flink.cep.nfa | |
| org.apache.flink.cep.nfa.aftermatch | |
| org.apache.flink.cep.nfa.sharedbuffer |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.api.java.tuple.Tuple2<Collection<Map<String,List<T>>>,Collection<org.apache.flink.api.java.tuple.Tuple2<Map<String,List<T>>,Long>>> |
NFA.advanceTime(SharedBufferAccessor<T> sharedBufferAccessor,
NFAState nfaState,
long timestamp,
AfterMatchSkipStrategy afterMatchSkipStrategy)
Prunes states assuming there will be no events with timestamp lower than the given
one.
|
Collection<Map<String,List<T>>> |
NFA.process(SharedBufferAccessor<T> sharedBufferAccessor,
NFAState nfaState,
T event,
long timestamp,
AfterMatchSkipStrategy afterMatchSkipStrategy,
TimerService timerService)
Processes the next input event.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AfterMatchSkipStrategy.prune(Collection<ComputationState> matchesToPrune,
Collection<Map<String,List<EventId>>> matchedResult,
SharedBufferAccessor<?> sharedBufferAccessor)
Prunes matches/partial matches based on the chosen strategy.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SharedBufferAccessor<V> |
SharedBuffer.getAccessor()
Construct an accessor to deal with this sharedBuffer.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.