Package org.apache.iceberg.flink.util
Class FlinkAlterTableUtil
java.lang.Object
org.apache.iceberg.flink.util.FlinkAlterTableUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyPropertyChanges
(UpdateProperties pendingUpdate, List<org.apache.flink.table.catalog.TableChange> propertyChanges) Applies a list of Flink table property changes to anUpdateProperties
operation.static void
applySchemaChanges
(UpdateSchema pendingUpdate, List<org.apache.flink.table.catalog.TableChange> schemaChanges) Applies a list of Flink table changes to anUpdateSchema
operation.static void
commitChanges
(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 void
commitChanges
(Table table, String setLocation, String setSnapshotId, String pickSnapshotId, Map<String, String> setProperties) static void
commitManageSnapshots
(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 anUpdateSchema
operation.- 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 anUpdateProperties
operation.- Parameters:
pendingUpdate
- an uncommitted UpdateProperty operation to configurepropertyChanges
- a list of Flink table changes
-