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