Package org.apache.flink.table.catalog
Class WatermarkSpec
java.lang.Object
org.apache.flink.table.catalog.WatermarkSpec
Representation of a watermark specification in a
ResolvedSchema.
It defines the rowtime attribute and a ResolvedExpression for watermark generation.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the name of a rowtime attribute.Returns theResolvedExpressionfor watermark generation.inthashCode()static WatermarkSpecof(String rowtimeAttribute, ResolvedExpression watermarkExpression) toString()
-
Method Details
-
of
-
getRowtimeAttribute
Returns the name of a rowtime attribute.The referenced attribute must be present in the
ResolvedSchemaand must be ofTimestampType. -
getWatermarkExpression
Returns theResolvedExpressionfor watermark generation. -
asSummaryString
-
equals
-
hashCode
public int hashCode() -
toString
-