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 Summary
Modifier 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
- 
identifier
TableIdentifier identifier() - 
requirements
List<UpdateRequirement> requirements() - 
updates
List<MetadataUpdate> updates() - 
create
This creates aTableCommitinstance to be applied for a single table withUpdateRequirements to be validated andMetadataUpdates that have been applied.- Parameters:
 identifier- TheTableIdentifierto create theTableCommitfor.base- The baseTableMetadatawhereUpdateRequirements are derived from and used for validation.updated- The updatedTableMetadatawhereMetadataUpdates that have been applied are derived from.- Returns:
 - A 
TableCommitinstance to be applied for a single table 
 
 -