Package org.apache.iceberg.connect.data
Class IcebergWriter
- java.lang.Object
-
- org.apache.iceberg.connect.data.IcebergWriter
-
- All Implemented Interfaces:
java.lang.Cloneable
,RecordWriter
public class IcebergWriter extends java.lang.Object implements RecordWriter
-
-
Constructor Summary
Constructors Constructor Description IcebergWriter(Table table, java.lang.String tableName, IcebergSinkConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.List<WriterResult>
complete()
void
write(org.apache.kafka.connect.sink.SinkRecord record)
-
-
-
Constructor Detail
-
IcebergWriter
public IcebergWriter(Table table, java.lang.String tableName, IcebergSinkConfig config)
-
-
Method Detail
-
write
public void write(org.apache.kafka.connect.sink.SinkRecord record)
- Specified by:
write
in interfaceRecordWriter
-
complete
public java.util.List<WriterResult> complete()
- Specified by:
complete
in interfaceRecordWriter
-
close
public void close()
- Specified by:
close
in interfaceRecordWriter
-
-