Class 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
    A DynamicTableSink that describes how to create a DynamoDbSink from a logical description.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilder
      Builder class for DynamoDbDynamicSink.
      • 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
    • Field Summary

      • Fields inherited from class org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink

        maxBatchSize, maxBufferedRequests, maxBufferSizeInBytes, maxInFlightRequests, maxTimeInBufferMS
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DynamoDbDynamicSink​(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 Detail

      • getChangelogMode

        public org.apache.flink.table.connector.ChangelogMode getChangelogMode​(org.apache.flink.table.connector.ChangelogMode changelogMode)
        Specified by:
        getChangelogMode in interface org.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:
        getSinkRuntimeProvider in interface org.apache.flink.table.connector.sink.DynamicTableSink
      • copy

        public org.apache.flink.table.connector.sink.DynamicTableSink copy()
        Specified by:
        copy in interface org.apache.flink.table.connector.sink.DynamicTableSink
      • asSummaryString

        public String asSummaryString()
        Specified by:
        asSummaryString in interface org.apache.flink.table.connector.sink.DynamicTableSink
      • applyStaticPartition

        public void applyStaticPartition​(Map<String,​String> partitions)
        Specified by:
        applyStaticPartition in interface org.apache.flink.table.connector.sink.abilities.SupportsPartitioning