@PublicEvolving public final class SimpleVersionedStringSerializer extends Object implements org.apache.flink.core.io.SimpleVersionedSerializer<String>
SimpleVersionedSerializer implementation for Strings.| Modifier and Type | Field and Description |
|---|---|
static SimpleVersionedStringSerializer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
deserialize(int version,
byte[] serialized) |
int |
getVersion() |
byte[] |
serialize(String value) |
public static final SimpleVersionedStringSerializer INSTANCE
public int getVersion()
getVersion in interface org.apache.flink.core.io.SimpleVersionedSerializer<String>getVersion in interface org.apache.flink.core.io.Versionedpublic byte[] serialize(String value)
serialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<String>public String deserialize(int version, byte[] serialized) throws IOException
deserialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<String>IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.