Class DynamoDbDynamicSink
- java.lang.Object
-
- org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<DynamoDbWriteRequest>
-
- org.apache.flink.connector.dynamodb.table.DynamoDbDynamicSink
-
- All Implemented Interfaces:
org.apache.flink.table.connector.sink.abilities.SupportsPartitioning,org.apache.flink.table.connector.sink.DynamicTableSink
@Internal public class DynamoDbDynamicSink extends org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<DynamoDbWriteRequest> implements org.apache.flink.table.connector.sink.abilities.SupportsPartitioning
ADynamicTableSinkthat describes how to create aDynamoDbSinkfrom a logical description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilderBuilder class forDynamoDbDynamicSink.-
Nested classes/interfaces inherited from interface org.apache.flink.table.connector.sink.DynamicTableSink
org.apache.flink.table.connector.sink.DynamicTableSink.Context, org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter, org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDynamoDbDynamicSink(Integer maxBatchSize, Integer maxInFlightRequests, Integer maxBufferedRequests, Long maxBufferSizeInBytes, Long maxTimeInBufferMS, String tableName, boolean failOnError, Properties dynamoDbClientProperties, org.apache.flink.table.types.DataType physicalDataType, Set<String> overwriteByPartitionKeys)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyStaticPartition(Map<String,String> partitions)StringasSummaryString()static DynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilderbuilder()org.apache.flink.table.connector.sink.DynamicTableSinkcopy()org.apache.flink.table.connector.ChangelogModegetChangelogMode(org.apache.flink.table.connector.ChangelogMode changelogMode)org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvidergetSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)-
Methods inherited from class org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink
addAsyncOptionsToSinkBuilder, equals, hashCode
-
-
-
-
Constructor Detail
-
DynamoDbDynamicSink
protected DynamoDbDynamicSink(@Nullable Integer maxBatchSize, @Nullable Integer maxInFlightRequests, @Nullable Integer maxBufferedRequests, @Nullable Long maxBufferSizeInBytes, @Nullable Long maxTimeInBufferMS, String tableName, boolean failOnError, Properties dynamoDbClientProperties, org.apache.flink.table.types.DataType physicalDataType, Set<String> overwriteByPartitionKeys)
-
-
Method Detail
-
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode(org.apache.flink.table.connector.ChangelogMode changelogMode)
- Specified by:
getChangelogModein interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
getSinkRuntimeProvider
public org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)
- Specified by:
getSinkRuntimeProviderin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
copy
public org.apache.flink.table.connector.sink.DynamicTableSink copy()
- Specified by:
copyin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
asSummaryString
public String asSummaryString()
- Specified by:
asSummaryStringin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
applyStaticPartition
public void applyStaticPartition(Map<String,String> partitions)
- Specified by:
applyStaticPartitionin interfaceorg.apache.flink.table.connector.sink.abilities.SupportsPartitioning
-
builder
public static DynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilder builder()
-
-