Package org.apache.iceberg.data
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureDataWrite(org.apache.iceberg.avro.Avro.DataWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigureDataWrite(org.apache.iceberg.orc.ORC.DataWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigureDataWrite(org.apache.iceberg.parquet.Parquet.DataWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigureEqualityDelete(org.apache.iceberg.avro.Avro.DeleteWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigureEqualityDelete(org.apache.iceberg.orc.ORC.DeleteWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigureEqualityDelete(org.apache.iceberg.parquet.Parquet.DeleteWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigurePositionDelete(org.apache.iceberg.avro.Avro.DeleteWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigurePositionDelete(org.apache.iceberg.orc.ORC.DeleteWriteBuilder builder) Deprecated.Since 1.11.0, will be removed in 1.12.0.protected voidconfigurePositionDelete(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 org.apache.iceberg.data.RegistryBasedFileWriterFactory
equalityDeleteInputSchema, inputSchema, newDataWriter, newEqualityDeleteWriter
-
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
configureDataWrite
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
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 theFormatModelRegistry. -
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:
newPositionDeleteWriterin interfaceorg.apache.iceberg.io.FileWriterFactory<org.apache.iceberg.data.Record>- Overrides:
newPositionDeleteWriterin classRegistryBasedFileWriterFactory<org.apache.iceberg.data.Record,org.apache.iceberg.Schema>
-