public class StateMetaInfoSnapshotReadersWriters extends Object
StateMetaInfoSnapshot
.Modifier and Type | Class and Description |
---|---|
static class |
StateMetaInfoSnapshotReadersWriters.StateTypeHint
Enum for backwards compatibility.
|
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,
StateMetaInfoSnapshotReadersWriters.StateTypeHint stateTypeHint)
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, @Nonnull StateMetaInfoSnapshotReadersWriters.StateTypeHint stateTypeHint)
StateMetaInfoSnapshot
with the requested state type and version
number.readVersion
- the format version to read.stateTypeHint
- a hint about the expected type to read.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.