public class StateMetaInfoSnapshotReadersWriters extends Object
StateMetaInfoSnapshot.| 限定符和类型 | 类和说明 |
|---|---|
static class |
StateMetaInfoSnapshotReadersWriters.StateTypeHint
Enum for backwards compatibility.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CURRENT_STATE_META_INFO_SNAPSHOT_VERSION
Current version for the serialization format of
StateMetaInfoSnapshotReadersWriters |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.