public static interface WindowReaderFunction.Context<W extends Window> extends Serializable
Modifier and Type | Method and Description |
---|---|
KeyedStateStore |
globalState()
State accessor for per-key global state.
|
Set<Long> |
registeredEventTimeTimers() |
Set<Long> |
registeredProcessingTimeTimers() |
<S extends State> |
triggerState(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.
|
KeyedStateStore |
windowState()
State accessor for per-key and per-window state.
|
W window()
<S extends State> S triggerState(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.KeyedStateStore windowState()
KeyedStateStore globalState()
Set<Long> registeredEventTimeTimers() throws Exception
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.