public class WatermarkSpec extends Object
TableSchema
. It mainly contains 3 parts:
Constructor and Description |
---|
WatermarkSpec(String rowtimeAttribute,
String watermarkExpressionString,
DataType watermarkExprOutputType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getRowtimeAttribute()
Returns the name of rowtime attribute, it can be a nested field using dot separator.
|
String |
getWatermarkExpr()
Returns the string representation of watermark generation expression.
|
DataType |
getWatermarkExprOutputType()
Returns the data type of the computation result of watermark generation expression.
|
int |
hashCode() |
String |
toString() |
public String getRowtimeAttribute()
TableSchema
and of type LogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONE
.public String getWatermarkExpr()
public DataType getWatermarkExprOutputType()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.