Package org.apache.iceberg.catalog
Interface TableCommit
- 
@Immutable public interface TableCommitThis represents a commit to be applied for a single table withUpdateRequirements to be validated andMetadataUpdates that have been applied. TheUpdateRequirements andMetadataUpdates can be derived from table's base and updatedTableMetadatawhen usingcreate(TableIdentifier, TableMetadata, TableMetadata). 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static 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.TableIdentifieridentifier()java.util.List<UpdateRequirement>requirements()java.util.List<MetadataUpdate>updates() 
 - 
 
- 
- 
Method Detail
- 
identifier
TableIdentifier identifier()
 
- 
requirements
java.util.List<UpdateRequirement> requirements()
 
- 
updates
java.util.List<MetadataUpdate> updates()
 
- 
create
static TableCommit create(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.- 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 
 
 - 
 
 -