@Internal public class StateTableByKeyGroupReaders extends Object
StateSnapshotKeyGroupReader depending on the provided serialization format version.
The implementations are also located here as inner classes.
| 构造器和说明 |
|---|
StateTableByKeyGroupReaders() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,N,S> StateSnapshotKeyGroupReader |
readerForVersion(StateTable<K,N,S> stateTable,
int version)
Creates a new StateTableByKeyGroupReader that inserts de-serialized mappings into the given
table, using the de-serialization algorithm that matches the given version.
|
public static <K,N,S> StateSnapshotKeyGroupReader readerForVersion(StateTable<K,N,S> stateTable, int version)
K - type of key.N - type of namespace.S - type of state.stateTable - the StateTable into which de-serialized mappings are inserted.version - version for the de-serialization algorithm.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.