public class RowLevelDeleteSpec extends Object implements SinkAbilitySpec
SinkAbilitySpec that can not only serialize/deserialize the row-level
delete mode & required physical column indices to/from JSON, but also can delete existing data
for SupportsRowLevelDelete.| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_REQUIRED_PHYSICAL_COLUMN_INDICES |
static String |
FIELD_NAME_ROW_LEVEL_DELETE_MODE |
| Constructor and Description |
|---|
RowLevelDeleteSpec(org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteMode rowLevelDeleteMode,
org.apache.flink.table.connector.RowLevelModificationScanContext scanContext,
int[] requiredPhysicalColumnIndices) |
| 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[] |
getRequiredPhysicalColumnIndices() |
org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteMode |
getRowLevelDeleteMode() |
int |
hashCode() |
public static final String FIELD_NAME_ROW_LEVEL_DELETE_MODE
public static final String FIELD_NAME_REQUIRED_PHYSICAL_COLUMN_INDICES
public void apply(org.apache.flink.table.connector.sink.DynamicTableSink tableSink)
SinkAbilitySpecDynamicTableSink.apply in interface SinkAbilitySpec@Nonnull public org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteMode getRowLevelDeleteMode()
public int[] getRequiredPhysicalColumnIndices()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.