Class WatermarkSpec
java.lang.Object
org.apache.flink.table.legacy.api.WatermarkSpec
Deprecated.
Watermark metadata defined in
TableSchema. 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
ConstructorsConstructorDescriptionWatermarkSpec(String rowtimeAttribute, String watermarkExpressionString, DataType watermarkExprOutputType) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.booleanDeprecated.Deprecated.Returns the name of rowtime attribute, it can be a nested field using dot separator.Deprecated.Returns the string representation of watermark generation expression.Deprecated.Returns the data type of the computation result of watermark generation expression.inthashCode()Deprecated.toString()Deprecated.
-
Constructor Details
-
Method Details
-
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
Deprecated.Returns the string representation of watermark generation expression. The string representation is a qualified SQL expression string (UDFs are expanded). -
getWatermarkExprOutputType
Deprecated.Returns the data type of the computation result of watermark generation expression. -
asSummaryString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
ResolvedSchemaandWatermarkSpec.