Interface BroadcastStateBootstrapFunction.Context
-
- Enclosing class:
- BroadcastStateBootstrapFunction<IN>
public static interface BroadcastStateBootstrapFunction.ContextContext thatBroadcastStateBootstrapFunction's can use for getting additional data about an input record.The context is only valid for the duration of a
BroadcastStateBootstrapFunction.processElement(Object, Context)call. Do not store the context and use afterwards!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcurrentProcessingTime()Returns the current processing time.<K,V>
org.apache.flink.api.common.state.BroadcastState<K,V>getBroadcastState(org.apache.flink.api.common.state.MapStateDescriptor<K,V> descriptor)Fetches theBroadcastStatewith the specified name.
-
-
-
Method Detail
-
currentProcessingTime
long currentProcessingTime()
Returns the current processing time.
-
getBroadcastState
<K,V> org.apache.flink.api.common.state.BroadcastState<K,V> getBroadcastState(org.apache.flink.api.common.state.MapStateDescriptor<K,V> descriptor)
Fetches theBroadcastStatewith the specified name.- Parameters:
descriptor- theMapStateDescriptorof the state to be fetched.- Returns:
- The required
broadcast state.
-
-