public class KeyedBackendSerializationProxy<K> extends VersionedIOReadableWritable
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Constructor and Description |
|---|
KeyedBackendSerializationProxy(ClassLoader userCodeClassLoader) |
KeyedBackendSerializationProxy(TypeSerializer<K> keySerializer,
List<RegisteredKeyedBackendStateMetaInfo.Snapshot<?,?>> stateMetaInfoSnapshots) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCompatibleVersions() |
TypeSerializer<K> |
getKeySerializer() |
TypeSerializerConfigSnapshot |
getKeySerializerConfigSnapshot() |
List<RegisteredKeyedBackendStateMetaInfo.Snapshot<?,?>> |
getStateMetaInfoSnapshots() |
int |
getVersion() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getReadVersionpublic static final int VERSION
public KeyedBackendSerializationProxy(ClassLoader userCodeClassLoader)
public KeyedBackendSerializationProxy(TypeSerializer<K> keySerializer, List<RegisteredKeyedBackendStateMetaInfo.Snapshot<?,?>> stateMetaInfoSnapshots)
public List<RegisteredKeyedBackendStateMetaInfo.Snapshot<?,?>> getStateMetaInfoSnapshots()
public TypeSerializer<K> getKeySerializer()
public TypeSerializerConfigSnapshot getKeySerializerConfigSnapshot()
public int getVersion()
public int[] getCompatibleVersions()
getCompatibleVersions in class VersionedIOReadableWritablepublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritablewrite in class VersionedIOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableread in class VersionedIOReadableWritableIOExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.