public abstract class ProcessAllWindowFunction.Context extends Object
Constructor and Description |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
abstract KeyedStateStore |
globalState()
State accessor for per-key global state.
|
abstract <X> void |
output(OutputTag<X> outputTag,
X value)
Emits a record to the side output identified by the
OutputTag . |
abstract W |
window() |
abstract KeyedStateStore |
windowState()
State accessor for per-key and per-window state.
|
public abstract W window()
public abstract KeyedStateStore windowState()
NOTE:If you use per-window state you have to ensure that you clean it up by
implementing ProcessWindowFunction.clear(ProcessWindowFunction.Context)
.
public abstract KeyedStateStore globalState()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.