public class WatermarkSpec extends Object
TableSchema. It mainly contains 3 parts:
| 构造器和说明 |
|---|
WatermarkSpec(String rowtimeAttribute,
String watermarkExpressionString,
DataType watermarkExprOutputType) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
asSummaryString() |
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()
public String asSummaryString()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.