Class GenericFileWriterFactory

java.lang.Object
org.apache.iceberg.data.RegistryBasedFileWriterFactory<org.apache.iceberg.data.Record,org.apache.iceberg.Schema>
org.apache.iceberg.data.GenericFileWriterFactory
All Implemented Interfaces:
Serializable, org.apache.iceberg.io.FileWriterFactory<org.apache.iceberg.data.Record>

public class GenericFileWriterFactory extends RegistryBasedFileWriterFactory<org.apache.iceberg.data.Record,org.apache.iceberg.Schema>
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureDataWrite(org.apache.iceberg.avro.Avro.DataWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configureDataWrite(org.apache.iceberg.orc.ORC.DataWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configureDataWrite(org.apache.iceberg.parquet.Parquet.DataWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configureEqualityDelete(org.apache.iceberg.avro.Avro.DeleteWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configureEqualityDelete(org.apache.iceberg.orc.ORC.DeleteWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configureEqualityDelete(org.apache.iceberg.parquet.Parquet.DeleteWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configurePositionDelete(org.apache.iceberg.avro.Avro.DeleteWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configurePositionDelete(org.apache.iceberg.orc.ORC.DeleteWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    protected void
    configurePositionDelete(org.apache.iceberg.parquet.Parquet.DeleteWriteBuilder builder)
    Deprecated.
    Since 1.11.0, will be removed in 1.12.0.
    org.apache.iceberg.deletes.PositionDeleteWriter<org.apache.iceberg.data.Record>
    newPositionDeleteWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.PartitionSpec spec, org.apache.iceberg.StructLike partition)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • configureDataWrite

      @Deprecated protected void configureDataWrite(org.apache.iceberg.avro.Avro.DataWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configureEqualityDelete

      @Deprecated protected void configureEqualityDelete(org.apache.iceberg.avro.Avro.DeleteWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configurePositionDelete

      @Deprecated protected void configurePositionDelete(org.apache.iceberg.avro.Avro.DeleteWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configureDataWrite

      @Deprecated protected void configureDataWrite(org.apache.iceberg.parquet.Parquet.DataWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configureEqualityDelete

      @Deprecated protected void configureEqualityDelete(org.apache.iceberg.parquet.Parquet.DeleteWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configurePositionDelete

      @Deprecated protected void configurePositionDelete(org.apache.iceberg.parquet.Parquet.DeleteWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configureDataWrite

      @Deprecated protected void configureDataWrite(org.apache.iceberg.orc.ORC.DataWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configureEqualityDelete

      @Deprecated protected void configureEqualityDelete(org.apache.iceberg.orc.ORC.DeleteWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • configurePositionDelete

      @Deprecated protected void configurePositionDelete(org.apache.iceberg.orc.ORC.DeleteWriteBuilder builder)
      Deprecated.
      Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by the FormatModelRegistry.
    • newPositionDeleteWriter

      public org.apache.iceberg.deletes.PositionDeleteWriter<org.apache.iceberg.data.Record> newPositionDeleteWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.PartitionSpec spec, org.apache.iceberg.StructLike partition)
      Specified by:
      newPositionDeleteWriter in interface org.apache.iceberg.io.FileWriterFactory<org.apache.iceberg.data.Record>
      Overrides:
      newPositionDeleteWriter in class RegistryBasedFileWriterFactory<org.apache.iceberg.data.Record,org.apache.iceberg.Schema>