Class WatermarkSpec
- java.lang.Object
-
- org.apache.flink.table.legacy.api.WatermarkSpec
-
@Deprecated @Internal public class WatermarkSpec extends Object
Deprecated.SeeResolvedSchema
andWatermarkSpec
.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 String
asSummaryString()
Deprecated.boolean
equals(Object o)
Deprecated.String
getRowtimeAttribute()
Deprecated.Returns the name of rowtime attribute, it can be a nested field using dot separator.String
getWatermarkExpr()
Deprecated.Returns the string representation of watermark generation expression.DataType
getWatermarkExprOutputType()
Deprecated.Returns the data type of the computation result of watermark generation expression.int
hashCode()
Deprecated.String
toString()
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 theTableSchema
and 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.
-
-