Package org.apache.iceberg.data
Class GenericAppenderFactory
java.lang.Object
org.apache.iceberg.data.GenericAppenderFactory
- All Implemented Interfaces:
org.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
@Deprecated
public class GenericAppenderFactory
extends Object
implements org.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
Deprecated.
Factory to create a new
FileAppender to write Records.-
Constructor Summary
ConstructorsConstructorDescriptionGenericAppenderFactory(org.apache.iceberg.Schema schema) Deprecated.GenericAppenderFactory(org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec) Deprecated.GenericAppenderFactory(org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema) Deprecated.Constructor for GenericAppenderFactory.GenericAppenderFactory(org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema, org.apache.iceberg.Schema posDeleteRowSchema) Deprecated.GenericAppenderFactory(org.apache.iceberg.Table table, org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, Map<String, String> config, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema) Deprecated.Constructor for GenericAppenderFactory.GenericAppenderFactory(org.apache.iceberg.Table table, org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, Map<String, String> config, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema, org.apache.iceberg.Schema posDeleteRowSchema) Deprecated.This constructor is deprecated as of version 1.11.0 and will be removed in 1.12.0. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.iceberg.io.FileAppender<org.apache.iceberg.data.Record>newAppender(org.apache.iceberg.encryption.EncryptedOutputFile encryptedOutputFile, org.apache.iceberg.FileFormat fileFormat) Deprecated.org.apache.iceberg.io.FileAppender<org.apache.iceberg.data.Record>newAppender(org.apache.iceberg.io.OutputFile outputFile, org.apache.iceberg.FileFormat fileFormat) Deprecated.org.apache.iceberg.io.DataWriter<org.apache.iceberg.data.Record>newDataWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.FileFormat format, org.apache.iceberg.StructLike partition) Deprecated.org.apache.iceberg.deletes.EqualityDeleteWriter<org.apache.iceberg.data.Record>newEqDeleteWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.FileFormat format, org.apache.iceberg.StructLike partition) Deprecated.org.apache.iceberg.deletes.PositionDeleteWriter<org.apache.iceberg.data.Record>newPosDeleteWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.FileFormat format, org.apache.iceberg.StructLike partition) Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
GenericAppenderFactory
public GenericAppenderFactory(org.apache.iceberg.Schema schema) Deprecated. -
GenericAppenderFactory
public GenericAppenderFactory(org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec) Deprecated. -
GenericAppenderFactory
public GenericAppenderFactory(org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema, org.apache.iceberg.Schema posDeleteRowSchema) Deprecated. -
GenericAppenderFactory
public GenericAppenderFactory(org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema) Deprecated.Constructor for GenericAppenderFactory.- Parameters:
schema- the schema of the records to writespec- the partition spec of the recordsequalityFieldIds- the field ids for equality deleteeqDeleteRowSchema- the schema for equality delete rows
-
GenericAppenderFactory
public GenericAppenderFactory(org.apache.iceberg.Table table, org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, Map<String, String> config, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema) Deprecated.Constructor for GenericAppenderFactory.- Parameters:
table- iceberg tableschema- the schema of the records to writespec- the partition spec of the recordsconfig- the configuration for the writerequalityFieldIds- the field ids for equality deleteeqDeleteRowSchema- the schema for equality delete rows
-
GenericAppenderFactory
@Deprecated public GenericAppenderFactory(org.apache.iceberg.Table table, org.apache.iceberg.Schema schema, org.apache.iceberg.PartitionSpec spec, Map<String, String> config, int[] equalityFieldIds, org.apache.iceberg.Schema eqDeleteRowSchema, org.apache.iceberg.Schema posDeleteRowSchema) Deprecated.This constructor is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported. UseGenericAppenderFactory(Table, Schema, PartitionSpec, Map, int[], Schema)instead.Constructor for GenericAppenderFactory.- Parameters:
table- iceberg tableschema- the schema of the records to writespec- the partition spec of the recordsconfig- the configuration for the writerequalityFieldIds- the field ids for equality deleteeqDeleteRowSchema- the schema for equality delete rowsposDeleteRowSchema- the schema for position delete rows
-
-
Method Details
-
set
Deprecated. -
setAll
Deprecated. -
newAppender
public org.apache.iceberg.io.FileAppender<org.apache.iceberg.data.Record> newAppender(org.apache.iceberg.io.OutputFile outputFile, org.apache.iceberg.FileFormat fileFormat) Deprecated.- Specified by:
newAppenderin interfaceorg.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
-
newAppender
public org.apache.iceberg.io.FileAppender<org.apache.iceberg.data.Record> newAppender(org.apache.iceberg.encryption.EncryptedOutputFile encryptedOutputFile, org.apache.iceberg.FileFormat fileFormat) Deprecated.- Specified by:
newAppenderin interfaceorg.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
-
newDataWriter
public org.apache.iceberg.io.DataWriter<org.apache.iceberg.data.Record> newDataWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.FileFormat format, org.apache.iceberg.StructLike partition) Deprecated.- Specified by:
newDataWriterin interfaceorg.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
-
newEqDeleteWriter
public org.apache.iceberg.deletes.EqualityDeleteWriter<org.apache.iceberg.data.Record> newEqDeleteWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.FileFormat format, org.apache.iceberg.StructLike partition) Deprecated.- Specified by:
newEqDeleteWriterin interfaceorg.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
-
newPosDeleteWriter
public org.apache.iceberg.deletes.PositionDeleteWriter<org.apache.iceberg.data.Record> newPosDeleteWriter(org.apache.iceberg.encryption.EncryptedOutputFile file, org.apache.iceberg.FileFormat format, org.apache.iceberg.StructLike partition) Deprecated.- Specified by:
newPosDeleteWriterin interfaceorg.apache.iceberg.io.FileAppenderFactory<org.apache.iceberg.data.Record>
-
GenericFileWriterFactoryinstead.