Descriptor.@PublicEvolving @Deprecated public class Rowtime extends Object implements Descriptor
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ROWTIME
已过时。
|
static String |
ROWTIME_TIMESTAMPS_CLASS
已过时。
|
static String |
ROWTIME_TIMESTAMPS_FROM
已过时。
|
static String |
ROWTIME_TIMESTAMPS_SERIALIZED
已过时。
|
static String |
ROWTIME_TIMESTAMPS_TYPE
已过时。
|
static String |
ROWTIME_TIMESTAMPS_TYPE_VALUE_CUSTOM
已过时。
|
static String |
ROWTIME_TIMESTAMPS_TYPE_VALUE_FROM_FIELD
已过时。
|
static String |
ROWTIME_TIMESTAMPS_TYPE_VALUE_FROM_SOURCE
已过时。
|
static String |
ROWTIME_WATERMARKS_CLASS
已过时。
|
static String |
ROWTIME_WATERMARKS_DELAY
已过时。
|
static String |
ROWTIME_WATERMARKS_SERIALIZED
已过时。
|
static String |
ROWTIME_WATERMARKS_TYPE
已过时。
|
static String |
ROWTIME_WATERMARKS_TYPE_VALUE_CUSTOM
已过时。
|
static String |
ROWTIME_WATERMARKS_TYPE_VALUE_FROM_SOURCE
已过时。
|
static String |
ROWTIME_WATERMARKS_TYPE_VALUE_PERIODIC_ASCENDING
已过时。
|
static String |
ROWTIME_WATERMARKS_TYPE_VALUE_PERIODIC_BOUNDED
已过时。
|
| 构造器和说明 |
|---|
Rowtime()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Rowtime |
timestampsFromExtractor(TimestampExtractor extractor)
已过时。
Sets a custom timestamp extractor to be used for the rowtime attribute.
|
Rowtime |
timestampsFromField(String fieldName)
已过时。
Sets a built-in timestamp extractor that converts an existing
Long or Types.SQL_TIMESTAMP field into the rowtime attribute. |
Rowtime |
timestampsFromSource()
已过时。
Sets a built-in timestamp extractor that converts the assigned timestamps from a DataStream
API record into the rowtime attribute and thus preserves the assigned timestamps from the
source.
|
Map<String,String> |
toProperties()
已过时。
Converts this descriptor into a set of properties.
|
Rowtime |
watermarksFromSource()
已过时。
Sets a built-in watermark strategy which indicates the watermarks should be preserved from
the underlying DataStream API and thus preserves the assigned watermarks from the source.
|
Rowtime |
watermarksFromStrategy(WatermarkStrategy strategy)
已过时。
Sets a custom watermark strategy to be used for the rowtime attribute.
|
Rowtime |
watermarksPeriodicAscending()
已过时。
Sets a built-in watermark strategy for ascending rowtime attributes.
|
Rowtime |
watermarksPeriodicBounded(long delay)
已过时。
Sets a built-in watermark strategy for rowtime attributes which are out-of-order by a bounded
time interval.
|
public static final String ROWTIME_TIMESTAMPS_TYPE_VALUE_FROM_FIELD
public static final String ROWTIME_TIMESTAMPS_TYPE_VALUE_FROM_SOURCE
public static final String ROWTIME_TIMESTAMPS_TYPE_VALUE_CUSTOM
public static final String ROWTIME_TIMESTAMPS_SERIALIZED
public static final String ROWTIME_WATERMARKS_TYPE_VALUE_PERIODIC_ASCENDING
public static final String ROWTIME_WATERMARKS_TYPE_VALUE_PERIODIC_BOUNDED
public static final String ROWTIME_WATERMARKS_TYPE_VALUE_FROM_SOURCE
public static final String ROWTIME_WATERMARKS_TYPE_VALUE_CUSTOM
public static final String ROWTIME_WATERMARKS_SERIALIZED
public Rowtime timestampsFromField(String fieldName)
Long or Types.SQL_TIMESTAMP field into the rowtime attribute.fieldName - The field to convert into a rowtime attribute.public Rowtime timestampsFromSource()
Note: This extractor only works in streaming environments.
public Rowtime timestampsFromExtractor(TimestampExtractor extractor)
extractor - The TimestampExtractor to extract the rowtime attribute from the
physical type.public Rowtime watermarksPeriodicAscending()
Emits a watermark of the maximum observed timestamp so far minus 1. Rows that have a timestamp equal to the max timestamp are not late.
public Rowtime watermarksPeriodicBounded(long delay)
Emits watermarks which are the maximum observed timestamp minus the specified delay.
delay - delay in millisecondspublic Rowtime watermarksFromSource()
public Rowtime watermarksFromStrategy(WatermarkStrategy strategy)
public Map<String,String> toProperties()
toProperties 在接口中 DescriptorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.