public final class SourceWatermarkSpec extends SourceAbilitySpecBase
SourceAbilitySpec that can not only serialize/deserialize the boolean flag
whether a source watermark should be used to/from JSON, but can also apply it to SupportsSourceWatermark.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FIELD_NAME_SOURCE_WATERMARK_ENABLED |
FIELD_NAME_PRODUCED_TYPE| 构造器和说明 |
|---|
SourceWatermarkSpec(boolean sourceWatermarkEnabled,
org.apache.flink.table.types.logical.RowType producedType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
apply(org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context)
Apply the ability to the given
DynamicTableSource. |
boolean |
equals(Object o) |
String |
getDigests(SourceAbilityContext context)
Additional digests to generate when this spec is applied to the source.
|
int |
hashCode() |
getProducedTypepublic SourceWatermarkSpec(boolean sourceWatermarkEnabled,
org.apache.flink.table.types.logical.RowType producedType)
public void apply(org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context)
SourceAbilitySpecDynamicTableSource.public String getDigests(SourceAbilityContext context)
SourceAbilitySpeccontext - The context about the source.public boolean equals(Object o)
equals 在类中 SourceAbilitySpecBasepublic int hashCode()
hashCode 在类中 SourceAbilitySpecBaseCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.