Package org.apache.flink.table.catalog
Class TableChange.ModifyUniqueConstraint
- java.lang.Object
-
- org.apache.flink.table.catalog.TableChange.ModifyUniqueConstraint
-
- All Implemented Interfaces:
TableChange
- Enclosing interface:
- TableChange
@PublicEvolving public static class TableChange.ModifyUniqueConstraint extends Object implements TableChange
A table change to modify a unique constraint.It is equal to the following statement:
ALTER TABLE <table_name> MODIFY PRIMARY KEY (<column_name> ...) NOT ENFORCED
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.catalog.TableChange
TableChange.AddColumn, TableChange.AddDistribution, TableChange.AddUniqueConstraint, TableChange.AddWatermark, TableChange.After, TableChange.ColumnPosition, TableChange.DropColumn, TableChange.DropConstraint, TableChange.DropDistribution, TableChange.DropWatermark, TableChange.First, TableChange.MaterializedTableChange, TableChange.ModifyColumn, TableChange.ModifyColumnComment, TableChange.ModifyColumnName, TableChange.ModifyColumnPosition, TableChange.ModifyDistribution, TableChange.ModifyPhysicalColumnType, TableChange.ModifyRefreshHandler, TableChange.ModifyRefreshStatus, TableChange.ModifyUniqueConstraint, TableChange.ModifyWatermark, TableChange.ResetOption, TableChange.SetOption
-
-
Constructor Summary
Constructors Constructor Description ModifyUniqueConstraint(UniqueConstraint newConstraint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
UniqueConstraint
getNewConstraint()
Returns the modified unique constraint.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ModifyUniqueConstraint
public ModifyUniqueConstraint(UniqueConstraint newConstraint)
-
-
Method Detail
-
getNewConstraint
public UniqueConstraint getNewConstraint()
Returns the modified unique constraint.
-
-