Class SerializableDataFile

java.lang.Object
org.apache.beam.sdk.io.iceberg.SerializableDataFile

@DefaultSchema(AutoValueSchema.class) public abstract class SerializableDataFile extends Object
Serializable version of an Iceberg DataFile.

DataFile is not serializable and the Iceberg API doesn't offer an easy way to encode/decode it. This class is an identical version that can be used as a PCollection element type.

NOTE: If you add any new fields here, you need to also update the equals(java.lang.Object) and hashCode() methods.

Use from(DataFile, String) to create a SerializableDataFile and createDataFile(Map) to reconstruct the original DataFile.