public class StateMetaInfoSnapshotReadersWriters extends Object
StateMetaInfoSnapshot
.Modifier and Type | Field and Description |
---|---|
static int |
CURRENT_STATE_META_INFO_SNAPSHOT_VERSION
Current version for the serialization format of
StateMetaInfoSnapshotReadersWriters |
Modifier and Type | Method and Description |
---|---|
static StateMetaInfoReader |
getReader(int readVersion)
Returns a reader for
StateMetaInfoSnapshot with the requested state type and version
number. |
static StateMetaInfoWriter |
getWriter()
Returns the writer for
StateMetaInfoSnapshot . |
public static final int CURRENT_STATE_META_INFO_SNAPSHOT_VERSION
StateMetaInfoSnapshotReadersWriters
.
- v6: since Flink 1.7.x@Nonnull public static StateMetaInfoWriter getWriter()
StateMetaInfoSnapshot
.@Nonnull public static StateMetaInfoReader getReader(int readVersion)
StateMetaInfoSnapshot
with the requested state type and version
number.readVersion
- the format version to read.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.