public abstract class FlinkTableSinkBase extends Object implements org.apache.flink.table.connector.sink.DynamicTableSink, org.apache.flink.table.connector.sink.abilities.SupportsOverwrite, org.apache.flink.table.connector.sink.abilities.SupportsPartitioning
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 org.apache.flink.table.factories.DynamicTableFactory.Context |
context |
protected LogStoreTableFactory |
logStoreTableFactory |
protected boolean |
overwrite |
protected Map<String,String> |
staticPartitions |
protected Table |
table |
protected org.apache.flink.table.catalog.ObjectIdentifier |
tableIdentifier |
Constructor and Description |
---|
FlinkTableSinkBase(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 |
---|---|
void |
applyOverwrite(boolean overwrite) |
void |
applyStaticPartition(Map<String,String> partition) |
String |
asSummaryString() |
org.apache.flink.table.connector.sink.DynamicTableSink |
copy() |
protected LogFlinkSinkBuilder |
createSinkBuilder() |
org.apache.flink.table.connector.ChangelogMode |
getChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode) |
org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider |
getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context) |
protected final org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier
protected final org.apache.flink.table.factories.DynamicTableFactory.Context context
@Nullable protected final LogStoreTableFactory logStoreTableFactory
protected final Table table
protected boolean overwrite
public FlinkTableSinkBase(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.ChangelogMode getChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode)
getChangelogMode
in interface org.apache.flink.table.connector.sink.DynamicTableSink
public org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)
getSinkRuntimeProvider
in interface org.apache.flink.table.connector.sink.DynamicTableSink
protected LogFlinkSinkBuilder createSinkBuilder()
public org.apache.flink.table.connector.sink.DynamicTableSink copy()
copy
in interface org.apache.flink.table.connector.sink.DynamicTableSink
public String asSummaryString()
asSummaryString
in interface org.apache.flink.table.connector.sink.DynamicTableSink
public void applyStaticPartition(Map<String,String> partition)
applyStaticPartition
in interface org.apache.flink.table.connector.sink.abilities.SupportsPartitioning
public void applyOverwrite(boolean overwrite)
applyOverwrite
in interface org.apache.flink.table.connector.sink.abilities.SupportsOverwrite
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.