public class FlinkAlterTableUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
applyPropertyChanges(UpdateProperties pendingUpdate,
java.util.List<org.apache.flink.table.catalog.TableChange> propertyChanges)
Applies a list of Flink table property changes to an
UpdateProperties operation. |
static void |
applySchemaChanges(UpdateSchema pendingUpdate,
java.util.List<org.apache.flink.table.catalog.TableChange> schemaChanges)
Applies a list of Flink table changes to an
UpdateSchema operation. |
static void |
commitChanges(Table table,
java.lang.String setLocation,
java.lang.String setSnapshotId,
java.lang.String pickSnapshotId,
java.util.List<org.apache.flink.table.catalog.TableChange> schemaChanges,
java.util.List<org.apache.flink.table.catalog.TableChange> propertyChanges) |
static void |
commitChanges(Table table,
java.lang.String setLocation,
java.lang.String setSnapshotId,
java.lang.String pickSnapshotId,
java.util.Map<java.lang.String,java.lang.String> setProperties) |
static void |
commitManageSnapshots(Table table,
java.lang.String setSnapshotId,
java.lang.String cherrypickSnapshotId) |
public static void commitChanges(Table table, java.lang.String setLocation, java.lang.String setSnapshotId, java.lang.String pickSnapshotId, java.util.Map<java.lang.String,java.lang.String> setProperties)
public static void commitChanges(Table table, java.lang.String setLocation, java.lang.String setSnapshotId, java.lang.String pickSnapshotId, java.util.List<org.apache.flink.table.catalog.TableChange> schemaChanges, java.util.List<org.apache.flink.table.catalog.TableChange> propertyChanges)
public static void commitManageSnapshots(Table table, java.lang.String setSnapshotId, java.lang.String cherrypickSnapshotId)
public static void applySchemaChanges(UpdateSchema pendingUpdate, java.util.List<org.apache.flink.table.catalog.TableChange> schemaChanges)
UpdateSchema
operation.pendingUpdate
- an uncommitted UpdateSchema operation to configureschemaChanges
- a list of Flink table changespublic static void applyPropertyChanges(UpdateProperties pendingUpdate, java.util.List<org.apache.flink.table.catalog.TableChange> propertyChanges)
UpdateProperties
operation.pendingUpdate
- an uncommitted UpdateProperty operation to configurepropertyChanges
- a list of Flink table changes