public static interface BroadcastStateBootstrapFunction.Context
BroadcastStateBootstrapFunction
'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!
Modifier and Type | Method and Description |
---|---|
long |
currentProcessingTime()
Returns the current processing time.
|
<K,V> BroadcastState<K,V> |
getBroadcastState(MapStateDescriptor<K,V> descriptor)
Fetches the
BroadcastState with the specified name. |
long currentProcessingTime()
<K,V> BroadcastState<K,V> getBroadcastState(MapStateDescriptor<K,V> descriptor)
BroadcastState
with the specified name.descriptor
- the MapStateDescriptor
of the state to be fetched.broadcast state
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.