Class AsyncWindowOperator.WindowContext
java.lang.Object
org.apache.flink.runtime.asyncprocessing.operators.windowing.AsyncWindowOperator.WindowContext
- All Implemented Interfaces:
Serializable,InternalAsyncWindowFunction.InternalWindowContext
public class AsyncWindowOperator.WindowContext
extends Object
implements InternalAsyncWindowFunction.InternalWindowContext
A utility class for handling
ProcessWindowFunction invocations. This can be reused by
setting the key and window fields. No internal state must be kept in the
WindowContext.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DeclaredVariable<W>protected AsyncWindowOperator<K,IN, ACC, OUT, W>.AbstractPerWindowStateStore -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
window
-
windowState
protected AsyncWindowOperator<K,IN, windowStateACC, OUT, W extends Window>.AbstractPerWindowStateStore
-
-
Constructor Details
-
WindowContext
-
-
Method Details
-
toString
-
clear
- Throws:
Exception
-
currentProcessingTime
public long currentProcessingTime()- Specified by:
currentProcessingTimein interfaceInternalAsyncWindowFunction.InternalWindowContext
-
currentWatermark
public long currentWatermark()- Specified by:
currentWatermarkin interfaceInternalAsyncWindowFunction.InternalWindowContext
-
windowState
public org.apache.flink.api.common.state.KeyedStateStore windowState()- Specified by:
windowStatein interfaceInternalAsyncWindowFunction.InternalWindowContext
-
globalState
public org.apache.flink.api.common.state.KeyedStateStore globalState()- Specified by:
globalStatein interfaceInternalAsyncWindowFunction.InternalWindowContext
-
output
public <X> void output(org.apache.flink.util.OutputTag<X> outputTag, X value) - Specified by:
outputin interfaceInternalAsyncWindowFunction.InternalWindowContext
-