@Internal
public interface SourceAbilitySpec
DynamicTableSource.| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context)
Apply the ability to the given
DynamicTableSource. |
String |
getDigests(SourceAbilityContext context)
Additional digests to generate when this spec is applied to the source.
|
Optional<org.apache.flink.table.types.logical.RowType> |
getProducedType()
Return the produced
RowType this the ability is applied. |
void apply(org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context)
DynamicTableSource.Optional<org.apache.flink.table.types.logical.RowType> getProducedType()
RowType this the ability is applied.
NOTE: If the ability does not change the produced type, this method will return Optional.empty().
String getDigests(SourceAbilityContext context)
context - The context about the source.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.