public static interface WindowReaderFunction.Context<W extends org.apache.flink.streaming.api.windowing.windows.Window> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.state.KeyedStateStore |
globalState()
State accessor for per-key global state.
|
Set<Long> |
registeredEventTimeTimers() |
Set<Long> |
registeredProcessingTimeTimers() |
<S extends org.apache.flink.api.common.state.State> |
triggerState(org.apache.flink.api.common.state.StateDescriptor<S,?> descriptor)
Retrieves a
State object that can be used to interact with fault-tolerant state
that is scoped to the trigger which corresponds to the current window. |
W |
window()
Returns the window that is being evaluated.
|
org.apache.flink.api.common.state.KeyedStateStore |
windowState()
State accessor for per-key and per-window state.
|
W window()
<S extends org.apache.flink.api.common.state.State> S triggerState(org.apache.flink.api.common.state.StateDescriptor<S,?> descriptor)
State object that can be used to interact with fault-tolerant state
that is scoped to the trigger which corresponds to the current window.S - The type of the state.descriptor - The StateDescriptor that contains the name and type of the state that
is being accessed.org.apache.flink.api.common.state.KeyedStateStore windowState()
org.apache.flink.api.common.state.KeyedStateStore globalState()
Set<Long> registeredEventTimeTimers() throws Exception
ExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.