Class StateMetaInfoSnapshotReadersWriters
java.lang.Object
org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshotReadersWriters
Static factory that gives out the write and readers for different versions of
StateMetaInfoSnapshot.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCurrent version for the serialization format ofStateMetaInfoSnapshotReadersWriters. -
Method Summary
Modifier and TypeMethodDescriptionstatic StateMetaInfoReadergetReader(int readVersion) Returns a reader forStateMetaInfoSnapshotwith the requested state type and version number.static StateMetaInfoWriterReturns the writer forStateMetaInfoSnapshot.
-
Field Details
-
CURRENT_STATE_META_INFO_SNAPSHOT_VERSION
public static final int CURRENT_STATE_META_INFO_SNAPSHOT_VERSIONCurrent version for the serialization format ofStateMetaInfoSnapshotReadersWriters. - v6: since Flink 1.7.x- See Also:
-
-
Method Details
-
getWriter
Returns the writer forStateMetaInfoSnapshot. -
getReader
Returns a reader forStateMetaInfoSnapshotwith the requested state type and version number.- Parameters:
readVersion- the format version to read.- Returns:
- the requested reader.
-