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 Object implements org.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
  • Constructor Details

    • IcebergSourceSplitSerializer

      public IcebergSourceSplitSerializer(boolean caseSensitive)
  • Method Details

    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface org.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
      Specified by:
      getVersion in interface org.apache.flink.core.io.Versioned
    • serialize

      public byte[] serialize(IcebergSourceSplit split) throws IOException
      Specified by:
      serialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
      Throws:
      IOException
    • deserialize

      public IcebergSourceSplit deserialize(int version, byte[] serialized) throws IOException
      Specified by:
      deserialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<IcebergSourceSplit>
      Throws:
      IOException