public abstract class SupportsRowLevelOperationFlinkTableSink extends FlinkTableSinkBase implements org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate, org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete, org.apache.flink.table.connector.sink.abilities.SupportsDeletePushDown
org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate.RowLevelUpdateInfo, org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate.RowLevelUpdateMode
org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteInfo, org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteMode
org.apache.flink.table.connector.sink.DynamicTableSink.Context, org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter, org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider
Modifier and Type | Field and Description |
---|---|
protected Predicate |
deletePredicate |
context, logStoreTableFactory, overwrite, staticPartitions, table, tableIdentifier
Constructor and Description |
---|
SupportsRowLevelOperationFlinkTableSink(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
Table table,
org.apache.flink.table.factories.DynamicTableFactory.Context context,
LogStoreTableFactory logStoreTableFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
applyDeleteFilters(List<org.apache.flink.table.expressions.ResolvedExpression> list) |
org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteInfo |
applyRowLevelDelete(org.apache.flink.table.connector.RowLevelModificationScanContext rowLevelModificationScanContext) |
org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate.RowLevelUpdateInfo |
applyRowLevelUpdate(List<org.apache.flink.table.catalog.Column> updatedColumns,
org.apache.flink.table.connector.RowLevelModificationScanContext context) |
org.apache.flink.table.connector.sink.DynamicTableSink |
copy() |
Optional<Long> |
executeDeletion() |
applyOverwrite, applyStaticPartition, asSummaryString, createSinkBuilder, getChangelogMode, getSinkRuntimeProvider
public SupportsRowLevelOperationFlinkTableSink(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, Table table, org.apache.flink.table.factories.DynamicTableFactory.Context context, @Nullable LogStoreTableFactory logStoreTableFactory)
public org.apache.flink.table.connector.sink.DynamicTableSink copy()
copy
in interface org.apache.flink.table.connector.sink.DynamicTableSink
copy
in class FlinkTableSinkBase
public org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate.RowLevelUpdateInfo applyRowLevelUpdate(List<org.apache.flink.table.catalog.Column> updatedColumns, @Nullable org.apache.flink.table.connector.RowLevelModificationScanContext context)
applyRowLevelUpdate
in interface org.apache.flink.table.connector.sink.abilities.SupportsRowLevelUpdate
public org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete.RowLevelDeleteInfo applyRowLevelDelete(@Nullable org.apache.flink.table.connector.RowLevelModificationScanContext rowLevelModificationScanContext)
applyRowLevelDelete
in interface org.apache.flink.table.connector.sink.abilities.SupportsRowLevelDelete
public boolean applyDeleteFilters(List<org.apache.flink.table.expressions.ResolvedExpression> list)
applyDeleteFilters
in interface org.apache.flink.table.connector.sink.abilities.SupportsDeletePushDown
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.