Package org.apache.iceberg.flink.util
Class FlinkAlterTableUtil
java.lang.Object
org.apache.iceberg.flink.util.FlinkAlterTableUtil
- 
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyPropertyChanges(UpdateProperties pendingUpdate, List<org.apache.flink.table.catalog.TableChange> propertyChanges) Applies a list of Flink table property changes to anUpdatePropertiesoperation.static voidapplySchemaChanges(UpdateSchema pendingUpdate, List<org.apache.flink.table.catalog.TableChange> schemaChanges) Applies a list of Flink table changes to anUpdateSchemaoperation.static voidcommitChanges(Table table, String setLocation, String setSnapshotId, String pickSnapshotId, List<org.apache.flink.table.catalog.TableChange> schemaChanges, List<org.apache.flink.table.catalog.TableChange> propertyChanges) static voidcommitChanges(Table table, String setLocation, String setSnapshotId, String pickSnapshotId, Map<String, String> setProperties) static voidcommitManageSnapshots(Table table, String setSnapshotId, String cherrypickSnapshotId)  
- 
Method Details
- 
commitChanges
 - 
commitChanges
 - 
commitManageSnapshots
 - 
applySchemaChanges
public static void applySchemaChanges(UpdateSchema pendingUpdate, List<org.apache.flink.table.catalog.TableChange> schemaChanges) Applies a list of Flink table changes to anUpdateSchemaoperation.- Parameters:
 pendingUpdate- an uncommitted UpdateSchema operation to configureschemaChanges- a list of Flink table changes
 - 
applyPropertyChanges
public static void applyPropertyChanges(UpdateProperties pendingUpdate, List<org.apache.flink.table.catalog.TableChange> propertyChanges) Applies a list of Flink table property changes to anUpdatePropertiesoperation.- Parameters:
 pendingUpdate- an uncommitted UpdateProperty operation to configurepropertyChanges- a list of Flink table changes
 
 -