InputT - The type of the DynamoDbBean to convert into DynamoDbWriteRequest@PublicEvolving public class DynamoDbBeanElementConverter<InputT> extends Object implements org.apache.flink.connector.base.sink.writer.ElementConverter<InputT,DynamoDbWriteRequest>
ElementConverter that uses the dynamodb-enhanced client to build a DynamoDbWriteRequest from a POJO annotated with DynamoDbBean.| Constructor and Description |
|---|
DynamoDbBeanElementConverter(Class<InputT> recordType) |
DynamoDbBeanElementConverter(Class<InputT> recordType,
boolean ignoreNulls) |
| Modifier and Type | Method and Description |
|---|---|
DynamoDbWriteRequest |
apply(InputT element,
org.apache.flink.api.connector.sink2.SinkWriter.Context context) |
public DynamoDbWriteRequest apply(InputT element, org.apache.flink.api.connector.sink2.SinkWriter.Context context)
apply in interface org.apache.flink.connector.base.sink.writer.ElementConverter<InputT,DynamoDbWriteRequest>Copyright © 2022–2023 The Apache Software Foundation. All rights reserved.