Class IcebergSourceSplitSerializer
- java.lang.Object
-
- org.apache.iceberg.flink.source.split.IcebergSourceSplitSerializer
-
- All Implemented Interfaces:
org.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
,org.apache.flink.core.io.Versioned
@Internal public class IcebergSourceSplitSerializer extends java.lang.Object implements org.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
-
-
Constructor Summary
Constructors Constructor Description IcebergSourceSplitSerializer(boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IcebergSourceSplit
deserialize(int version, byte[] serialized)
int
getVersion()
byte[]
serialize(IcebergSourceSplit split)
-
-
-
Method Detail
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
- Specified by:
getVersion
in interfaceorg.apache.flink.core.io.Versioned
-
serialize
public byte[] serialize(IcebergSourceSplit split) throws java.io.IOException
- Specified by:
serialize
in interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
- Throws:
java.io.IOException
-
deserialize
public IcebergSourceSplit deserialize(int version, byte[] serialized) throws java.io.IOException
- Specified by:
deserialize
in interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
- Throws:
java.io.IOException
-
-