public final class WritingMetadataSpec extends Object implements SinkAbilitySpec
SinkAbilitySpec that can not only serialize/deserialize the metadata
columns to/from JSON, but also can write the metadata columns for SupportsWritingMetadata.| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_CONSUMED_TYPE |
static String |
FIELD_NAME_METADATA_KEYS |
| Constructor and Description |
|---|
WritingMetadataSpec(List<String> metadataKeys,
org.apache.flink.table.types.logical.LogicalType consumedType) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.apache.flink.table.connector.sink.DynamicTableSink tableSink)
Apply the ability to the given
DynamicTableSink. |
boolean |
equals(Object o) |
int |
hashCode() |
public static final String FIELD_NAME_METADATA_KEYS
public static final String FIELD_NAME_CONSUMED_TYPE
public void apply(org.apache.flink.table.connector.sink.DynamicTableSink tableSink)
SinkAbilitySpecDynamicTableSink.apply in interface SinkAbilitySpecCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.