Package org.apache.iceberg.catalog
Interface TableCommit
@Immutable
public interface TableCommit
This represents a commit to be applied for a single table with 
UpdateRequirements to be
 validated and MetadataUpdates that have been applied. The UpdateRequirements and
 MetadataUpdates can be derived from table's base and updated TableMetadata when
 using create(TableIdentifier, TableMetadata, TableMetadata).- 
Method SummaryModifier and TypeMethodDescriptionstatic TableCommitcreate(TableIdentifier identifier, TableMetadata base, TableMetadata updated) This creates aTableCommitinstance to be applied for a single table withUpdateRequirements to be validated andMetadataUpdates that have been applied.updates()
- 
Method Details- 
identifierTableIdentifier identifier()
- 
requirementsList<UpdateRequirement> requirements()
- 
updatesList<MetadataUpdate> updates()
- 
createThis creates aTableCommitinstance to be applied for a single table withUpdateRequirements to be validated andMetadataUpdates that have been applied.- Parameters:
- identifier- The- TableIdentifierto create the- TableCommitfor.
- base- The base- TableMetadatawhere- UpdateRequirements are derived from and used for validation.
- updated- The updated- TableMetadatawhere- MetadataUpdates that have been applied are derived from.
- Returns:
- A TableCommitinstance to be applied for a single table
 
 
-