Package org.apache.flink.table.catalog
Class TableChange.ModifyWatermark
- java.lang.Object
-
- org.apache.flink.table.catalog.TableChange.ModifyWatermark
-
- All Implemented Interfaces:
TableChange
- Enclosing interface:
- TableChange
@PublicEvolving public static class TableChange.ModifyWatermark extends Object implements TableChange
A table change to modify the watermark.It is equal to the following statement:
ALTER TABLE <table_name> MODIFY WATERMARK FOR <row_time_column_name> AS <watermark_expression>
-
-
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 ModifyWatermark(WatermarkSpec newWatermark)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
WatermarkSpec
getNewWatermark()
Returns the modified watermark.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ModifyWatermark
public ModifyWatermark(WatermarkSpec newWatermark)
-
-
Method Detail
-
getNewWatermark
public WatermarkSpec getNewWatermark()
Returns the modified watermark.
-
-