Package org.apache.iceberg.flink.sink
Class FlinkAppenderFactory
java.lang.Object
org.apache.iceberg.flink.sink.FlinkAppenderFactory
- All Implemented Interfaces:
Serializable,FileAppenderFactory<org.apache.flink.table.data.RowData>
@Deprecated
public class FlinkAppenderFactory
extends Object
implements FileAppenderFactory<org.apache.flink.table.data.RowData>, Serializable
Deprecated.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlinkAppenderFactory(Table table, Schema schema, org.apache.flink.table.types.logical.RowType flinkSchema, Map<String, String> props, PartitionSpec spec, int[] equalityFieldIds, Schema eqDeleteRowSchema) Deprecated.FlinkAppenderFactory(Table table, Schema schema, org.apache.flink.table.types.logical.RowType flinkSchema, Map<String, String> props, PartitionSpec spec, int[] equalityFieldIds, Schema eqDeleteRowSchema, 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 TypeMethodDescriptionFileAppender<org.apache.flink.table.data.RowData> newAppender(OutputFile outputFile, FileFormat format) Deprecated.Create a newFileAppender.DataWriter<org.apache.flink.table.data.RowData> newDataWriter(EncryptedOutputFile file, FileFormat format, StructLike partition) Deprecated.Create a newDataWriter.EqualityDeleteWriter<org.apache.flink.table.data.RowData> newEqDeleteWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition) Deprecated.Create a newEqualityDeleteWriter.PositionDeleteWriter<org.apache.flink.table.data.RowData> newPosDeleteWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition) Deprecated.Create a newPositionDeleteWriter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.io.FileAppenderFactory
newAppender
-
Constructor Details
-
FlinkAppenderFactory
public FlinkAppenderFactory(Table table, Schema schema, org.apache.flink.table.types.logical.RowType flinkSchema, Map<String, String> props, PartitionSpec spec, int[] equalityFieldIds, Schema eqDeleteRowSchema) Deprecated. -
FlinkAppenderFactory
@Deprecated public FlinkAppenderFactory(Table table, Schema schema, org.apache.flink.table.types.logical.RowType flinkSchema, Map<String, String> props, PartitionSpec spec, int[] equalityFieldIds, Schema eqDeleteRowSchema, 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. UseFlinkAppenderFactory(Table, Schema, RowType, Map, PartitionSpec, int[], Schema)instead.
-
-
Method Details
-
newAppender
public FileAppender<org.apache.flink.table.data.RowData> newAppender(OutputFile outputFile, FileFormat format) Deprecated.Description copied from interface:FileAppenderFactoryCreate a newFileAppender.- Specified by:
newAppenderin interfaceFileAppenderFactory<org.apache.flink.table.data.RowData>- Parameters:
outputFile- an OutputFile used to create an output stream.format- File format.- Returns:
- a newly created
FileAppender
-
newDataWriter
public DataWriter<org.apache.flink.table.data.RowData> newDataWriter(EncryptedOutputFile file, FileFormat format, StructLike partition) Deprecated.Description copied from interface:FileAppenderFactoryCreate a newDataWriter.- Specified by:
newDataWriterin interfaceFileAppenderFactory<org.apache.flink.table.data.RowData>- Parameters:
file- an OutputFile used to create an output stream.format- a file formatpartition- a tuple of partition values- Returns:
- a newly created
DataWriterfor rows
-
newEqDeleteWriter
public EqualityDeleteWriter<org.apache.flink.table.data.RowData> newEqDeleteWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition) Deprecated.Description copied from interface:FileAppenderFactoryCreate a newEqualityDeleteWriter.- Specified by:
newEqDeleteWriterin interfaceFileAppenderFactory<org.apache.flink.table.data.RowData>- Parameters:
outputFile- an OutputFile used to create an output stream.format- a file formatpartition- a tuple of partition values- Returns:
- a newly created
EqualityDeleteWriterfor equality deletes
-
newPosDeleteWriter
public PositionDeleteWriter<org.apache.flink.table.data.RowData> newPosDeleteWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition) Deprecated.Description copied from interface:FileAppenderFactoryCreate a newPositionDeleteWriter.- Specified by:
newPosDeleteWriterin interfaceFileAppenderFactory<org.apache.flink.table.data.RowData>- Parameters:
outputFile- an OutputFile used to create an output stream.format- a file formatpartition- a tuple of partition values- Returns:
- a newly created
PositionDeleteWriterfor position deletes
-
FlinkFileWriterFactory. This class will be removed in the 1.12.0.