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,
LogicalType consumedType) |
Modifier and Type | Method and Description |
---|---|
void |
apply(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 WritingMetadataSpec(List<String> metadataKeys, LogicalType consumedType)
public void apply(DynamicTableSink tableSink)
SinkAbilitySpec
DynamicTableSink
.apply
in interface SinkAbilitySpec
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.