Package org.apache.iceberg.data
Class BaseFileWriterFactory<T>
java.lang.Object
org.apache.iceberg.data.BaseFileWriterFactory<T>
- All Implemented Interfaces:
Serializable,FileWriterFactory<T>
@Deprecated
public abstract class BaseFileWriterFactory<T>
extends Object
implements FileWriterFactory<T>, Serializable
Deprecated.
A base writer factory to be extended by query engine integrations.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseFileWriterFactory(Table table, FileFormat dataFileFormat, Schema dataSchema, SortOrder dataSortOrder, FileFormat deleteFileFormat, int[] equalityFieldIds, Schema equalityDeleteRowSchema, SortOrder equalityDeleteSortOrder, Map<String, String> writerProperties) Deprecated.protectedBaseFileWriterFactory(Table table, FileFormat dataFileFormat, Schema dataSchema, SortOrder dataSortOrder, FileFormat deleteFileFormat, int[] equalityFieldIds, Schema equalityDeleteRowSchema, SortOrder equalityDeleteSortOrder, Schema positionDeleteRowSchema) Deprecated.protectedBaseFileWriterFactory(Table table, FileFormat dataFileFormat, Schema dataSchema, SortOrder dataSortOrder, FileFormat deleteFileFormat, int[] equalityFieldIds, Schema equalityDeleteRowSchema, SortOrder equalityDeleteSortOrder, Schema positionDeleteRowSchema, Map<String, String> writerProperties) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidconfigureDataWrite(Avro.DataWriteBuilder builder) Deprecated.protected abstract voidconfigureDataWrite(ORC.DataWriteBuilder builder) Deprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected SchemaDeprecated.protected SchemaDeprecated.newDataWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition) Deprecated.Creates a newDataWriter.newEqualityDeleteWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition) Deprecated.Creates a newEqualityDeleteWriter.newPositionDeleteWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition) Deprecated.Creates a newPositionDeleteWriter.protected SchemaDeprecated.This method is deprecated as of version 1.11.0 and will be removed in 1.12.0.
-
Constructor Details
-
BaseFileWriterFactory
protected BaseFileWriterFactory(Table table, FileFormat dataFileFormat, Schema dataSchema, SortOrder dataSortOrder, FileFormat deleteFileFormat, int[] equalityFieldIds, Schema equalityDeleteRowSchema, SortOrder equalityDeleteSortOrder, Map<String, String> writerProperties) Deprecated. -
BaseFileWriterFactory
protected BaseFileWriterFactory(Table table, FileFormat dataFileFormat, Schema dataSchema, SortOrder dataSortOrder, FileFormat deleteFileFormat, int[] equalityFieldIds, Schema equalityDeleteRowSchema, SortOrder equalityDeleteSortOrder, Schema positionDeleteRowSchema, Map<String, String> writerProperties) Deprecated. -
BaseFileWriterFactory
@Deprecated protected BaseFileWriterFactory(Table table, FileFormat dataFileFormat, Schema dataSchema, SortOrder dataSortOrder, FileFormat deleteFileFormat, int[] equalityFieldIds, Schema equalityDeleteRowSchema, SortOrder equalityDeleteSortOrder, Schema positionDeleteRowSchema) Deprecated.
-
-
Method Details
-
configureDataWrite
Deprecated. -
configureEqualityDelete
Deprecated. -
configurePositionDelete
Deprecated. -
configureDataWrite
Deprecated. -
configureEqualityDelete
Deprecated. -
configurePositionDelete
Deprecated. -
configureDataWrite
Deprecated. -
configureEqualityDelete
Deprecated. -
configurePositionDelete
Deprecated. -
newDataWriter
public DataWriter<T> newDataWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition) Deprecated.Description copied from interface:FileWriterFactoryCreates a newDataWriter.- Specified by:
newDataWriterin interfaceFileWriterFactory<T>- Parameters:
file- the output filespec- the partition spec written data belongs topartition- the partition written data belongs to or null if the spec is unpartitioned- Returns:
- the constructed data writer
-
newEqualityDeleteWriter
public EqualityDeleteWriter<T> newEqualityDeleteWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition) Deprecated.Description copied from interface:FileWriterFactoryCreates a newEqualityDeleteWriter.- Specified by:
newEqualityDeleteWriterin interfaceFileWriterFactory<T>- Parameters:
file- the output filespec- the partition spec written deletes belong topartition- the partition written deletes belong to or null if the spec is unpartitioned- Returns:
- the constructed equality delete writer
-
newPositionDeleteWriter
public PositionDeleteWriter<T> newPositionDeleteWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition) Deprecated.Description copied from interface:FileWriterFactoryCreates a newPositionDeleteWriter.- Specified by:
newPositionDeleteWriterin interfaceFileWriterFactory<T>- Parameters:
file- the output filespec- the partition spec written deletes belong topartition- the partition written deletes belong to or null if the spec is unpartitioned- Returns:
- the constructed position delete writer
-
dataSchema
Deprecated. -
equalityDeleteRowSchema
Deprecated. -
positionDeleteRowSchema
Deprecated.This method 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.
-
RegistryBasedFileWriterFactory