Class CommitToTable
java.lang.Object
org.apache.iceberg.connect.events.CommitToTable
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.IndexedRecord
,Payload
A control event payload for events sent by a coordinator that indicates it has completed a commit
cycle. Events with this payload are not consumed by the sink, they are informational and can be
used by consumers to trigger downstream processes.
-
Constructor Summary
ConstructorDescriptionCommitToTable
(UUID commitId, TableReference tableReference, Long snapshotId, OffsetDateTime validThroughTs) CommitToTable
(org.apache.avro.Schema avroSchema) -
Method Summary
-
Constructor Details
-
CommitToTable
public CommitToTable(org.apache.avro.Schema avroSchema) -
CommitToTable
public CommitToTable(UUID commitId, TableReference tableReference, Long snapshotId, OffsetDateTime validThroughTs)
-
-
Method Details
-
type
-
commitId
-
tableReference
-
snapshotId
-
validThroughTs
-
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
-