public class WindowOperator.WindowContext extends Object implements InternalWindowFunction.InternalWindowContext
ProcessWindowFunction invocations. This can be reused by
setting the key and window fields. No internal state must be kept in the
WindowContext.| 限定符和类型 | 字段和说明 |
|---|---|
protected W |
window |
protected WindowOperator.AbstractPerWindowStateStore |
windowState |
| 构造器和说明 |
|---|
WindowContext(W window) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
long |
currentProcessingTime() |
long |
currentWatermark() |
org.apache.flink.api.common.state.KeyedStateStore |
globalState() |
<X> void |
output(org.apache.flink.util.OutputTag<X> outputTag,
X value) |
String |
toString() |
org.apache.flink.api.common.state.KeyedStateStore |
windowState() |
protected WindowOperator.AbstractPerWindowStateStore windowState
public WindowContext(W window)
public long currentProcessingTime()
public long currentWatermark()
public org.apache.flink.api.common.state.KeyedStateStore windowState()
public org.apache.flink.api.common.state.KeyedStateStore globalState()
public <X> void output(org.apache.flink.util.OutputTag<X> outputTag,
X value)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.