Package org.apache.flink.runtime.state
Class HeapBroadcastState<K,V>
java.lang.Object
org.apache.flink.runtime.state.HeapBroadcastState<K,V>
- Type Parameters:
K- The key type of the elements in theBroadcast State.V- The value type of the elements in theBroadcast State.
- All Implemented Interfaces:
org.apache.flink.api.common.state.BroadcastState<K,,V> org.apache.flink.api.common.state.ReadOnlyBroadcastState<K,,V> org.apache.flink.api.common.state.State,BackendWritableBroadcastState<K,V>
A
Broadcast State backed a heap-based Map.-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleandeepCopy()entries()iterator()voidvoidvoidvoidsetStateMetaInfo(RegisteredBroadcastStateBackendMetaInfo<K, V> stateMetaInfo) toString()longwrite(org.apache.flink.core.fs.FSDataOutputStream out)
-
Method Details
-
setStateMetaInfo
- Specified by:
setStateMetaInfoin interfaceBackendWritableBroadcastState<K,V>
-
getStateMetaInfo
- Specified by:
getStateMetaInfoin interfaceBackendWritableBroadcastState<K,V>
-
deepCopy
- Specified by:
deepCopyin interfaceBackendWritableBroadcastState<K,V>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.flink.api.common.state.State
-
toString
-
write
- Specified by:
writein interfaceBackendWritableBroadcastState<K,V> - Throws:
IOException
-
get
-
put
-
putAll
-
remove
-
contains
-
iterator
-
entries
-
immutableEntries
-
getInternalMapCopySerializer
-