IN
- The type of the input value.OUT
- The type of the output value.W
- The type of the window.@Internal public class InternalProcessAllWindowContext<IN,OUT,W extends Window> extends ProcessAllWindowFunction.Context
限定符和类型 | 方法和说明 |
---|---|
org.apache.flink.api.common.state.KeyedStateStore |
globalState()
State accessor for per-key global state.
|
<X> void |
output(org.apache.flink.util.OutputTag<X> outputTag,
X value)
Emits a record to the side output identified by the
OutputTag . |
W |
window() |
org.apache.flink.api.common.state.KeyedStateStore |
windowState()
State accessor for per-key and per-window state.
|
public W window()
window
在类中 ProcessAllWindowFunction.Context
public org.apache.flink.api.common.state.KeyedStateStore windowState()
ProcessAllWindowFunction.Context
NOTE:If you use per-window state you have to ensure that you clean it up
by implementing ProcessWindowFunction.clear(ProcessWindowFunction.Context)
.
public org.apache.flink.api.common.state.KeyedStateStore globalState()
ProcessAllWindowFunction.Context
public <X> void output(org.apache.flink.util.OutputTag<X> outputTag, X value)
ProcessAllWindowFunction.Context
OutputTag
.output
在类中 ProcessAllWindowFunction.Context
outputTag
- the OutputTag
that identifies the side output to emit to.value
- The record to emit.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.