Class WatermarkSpec
- java.lang.Object
-
- org.apache.flink.table.legacy.api.WatermarkSpec
-
@Deprecated @Internal public class WatermarkSpec extends Object
Deprecated.SeeResolvedSchemaandWatermarkSpec.Watermark metadata defined inTableSchema. It mainly contains 3 parts:- the rowtime attribute.
- the string representation of watermark generation expression.
- the data type of the computation result of watermark generation expression.
-
-
Constructor Summary
Constructors Constructor Description WatermarkSpec(String rowtimeAttribute, String watermarkExpressionString, DataType watermarkExprOutputType)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringasSummaryString()Deprecated.booleanequals(Object o)Deprecated.StringgetRowtimeAttribute()Deprecated.Returns the name of rowtime attribute, it can be a nested field using dot separator.StringgetWatermarkExpr()Deprecated.Returns the string representation of watermark generation expression.DataTypegetWatermarkExprOutputType()Deprecated.Returns the data type of the computation result of watermark generation expression.inthashCode()Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
getRowtimeAttribute
public String getRowtimeAttribute()
Deprecated.Returns the name of rowtime attribute, it can be a nested field using dot separator. The referenced attribute must be present in theTableSchemaand of typeLogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONE.
-
getWatermarkExpr
public String getWatermarkExpr()
Deprecated.Returns the string representation of watermark generation expression. The string representation is a qualified SQL expression string (UDFs are expanded).
-
getWatermarkExprOutputType
public DataType getWatermarkExprOutputType()
Deprecated.Returns the data type of the computation result of watermark generation expression.
-
asSummaryString
public String asSummaryString()
Deprecated.
-
-