Modifier and Type | Method and Description |
---|---|
static <T> SinkFunction<T> |
JdbcSink.exactlyOnceSink(String sql,
JdbcStatementBuilder<T> statementBuilder,
JdbcExecutionOptions executionOptions,
JdbcExactlyOnceOptions exactlyOnceOptions,
SerializableSupplier<XADataSource> dataSourceSupplier)
Create JDBC sink which provides exactly-once guarantee.
|
Constructor and Description |
---|
SimpleVersionedSerializerTypeSerializerProxy(SerializableSupplier<SimpleVersionedSerializer<T>> serializerSupplier) |
Modifier and Type | Method and Description |
---|---|
static <T> CsvReaderFormat<T> |
CsvReaderFormat.forSchema(SerializableSupplier<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvMapper> mapperFactory,
SerializableFunction<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvMapper,org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema> schemaGenerator,
TypeInformation<T> typeInformation)
Builds a new
CsvReaderFormat using a CsvSchema generator and CsvMapper factory. |
Constructor and Description |
---|
JsonDeserializationSchema(Class<T> clazz,
SerializableSupplier<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper> mapperFactory) |
JsonDeserializationSchema(TypeInformation<T> typeInformation,
SerializableSupplier<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper> mapperFactory) |
JsonSerializationSchema(SerializableSupplier<org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper> mapperFactory) |
Modifier and Type | Method and Description |
---|---|
static <CommT> void |
StandardSinkTopologies.addGlobalCommitter(DataStream<CommittableMessage<CommT>> committables,
SerializableSupplier<Committer<CommT>> committerFactory,
SerializableSupplier<SimpleVersionedSerializer<CommT>> committableSerializer)
Adds a global committer to the pipeline that runs as final operator with a parallelism of
one.
|
static <CommT> void |
StandardSinkTopologies.addGlobalCommitter(DataStream<CommittableMessage<CommT>> committables,
SerializableSupplier<Committer<CommT>> committerFactory,
SerializableSupplier<SimpleVersionedSerializer<CommT>> committableSerializer)
Adds a global committer to the pipeline that runs as final operator with a parallelism of
one.
|
static <CommT> TypeInformation<CommittableMessage<CommT>> |
CommittableMessageTypeInfo.of(SerializableSupplier<SimpleVersionedSerializer<CommT>> committableSerializerFactory)
Returns the type information based on the serializer for a
CommittableMessage . |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.