Class DataWritten
java.lang.Object
org.apache.iceberg.connect.events.DataWritten
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.IndexedRecord
,Payload
A control event payload for events sent by a worker that contains the table data that has been
written and is ready to commit.
-
Constructor Summary
ConstructorDescriptionDataWritten
(org.apache.avro.Schema avroSchema) DataWritten
(Types.StructType partitionType, UUID commitId, TableReference tableReference, List<DataFile> dataFiles, List<DeleteFile> deleteFiles) -
Method Summary
-
Constructor Details
-
DataWritten
public DataWritten(org.apache.avro.Schema avroSchema) -
DataWritten
public DataWritten(Types.StructType partitionType, UUID commitId, TableReference tableReference, List<DataFile> dataFiles, List<DeleteFile> deleteFiles)
-
-
Method Details
-
type
-
commitId
-
tableReference
-
dataFiles
-
deleteFiles
-
writeSchema
- Specified by:
writeSchema
in interfacePayload
-
getSchema
public org.apache.avro.Schema getSchema()- Specified by:
getSchema
in interfaceorg.apache.avro.generic.GenericContainer
-
put
- Specified by:
put
in interfaceorg.apache.avro.generic.IndexedRecord
-
get
- Specified by:
get
in interfaceorg.apache.avro.generic.IndexedRecord
-