@Internal public class DynamoDbDynamicSink extends org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<DynamoDbWriteRequest> implements org.apache.flink.table.connector.sink.abilities.SupportsPartitioning
DynamicTableSink that describes how to create a DynamoDbSink from a logical
description.| Modifier and Type | Class and Description |
|---|---|
static class |
DynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilder
Builder class for
DynamoDbDynamicSink. |
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 | Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyStaticPartition(Map<String,String> partitions) |
String |
asSummaryString() |
static DynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilder |
builder() |
org.apache.flink.table.connector.sink.DynamicTableSink |
copy() |
org.apache.flink.table.connector.ChangelogMode |
getChangelogMode(org.apache.flink.table.connector.ChangelogMode changelogMode) |
org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider |
getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context) |
addAsyncOptionsToSinkBuilder, equals, hashCodeprotected 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)
public org.apache.flink.table.connector.ChangelogMode getChangelogMode(org.apache.flink.table.connector.ChangelogMode changelogMode)
getChangelogMode in interface org.apache.flink.table.connector.sink.DynamicTableSinkpublic 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.DynamicTableSinkpublic org.apache.flink.table.connector.sink.DynamicTableSink copy()
copy in interface org.apache.flink.table.connector.sink.DynamicTableSinkpublic String asSummaryString()
asSummaryString in interface org.apache.flink.table.connector.sink.DynamicTableSinkpublic void applyStaticPartition(Map<String,String> partitions)
applyStaticPartition in interface org.apache.flink.table.connector.sink.abilities.SupportsPartitioningpublic static DynamoDbDynamicSink.DynamoDbDynamicTableSinkBuilder builder()
Copyright © 2022–2023 The Apache Software Foundation. All rights reserved.