| Package | Description |
|---|---|
| org.apache.flink.connector.jdbc | |
| org.apache.flink.connector.jdbc.internal | |
| org.apache.flink.connector.jdbc.table | |
| org.apache.flink.connector.jdbc.xa |
Provides exactly-once JDBC sink implementation using Java XA transactions API (JTA).
|
| Modifier and Type | Method and Description |
|---|---|
JdbcExecutionOptions |
JdbcExecutionOptions.Builder.build() |
static JdbcExecutionOptions |
JdbcExecutionOptions.defaults() |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.apache.flink.streaming.api.functions.sink.SinkFunction<T> |
JdbcSink.exactlyOnceSink(String sql,
JdbcStatementBuilder<T> statementBuilder,
JdbcExecutionOptions executionOptions,
JdbcExactlyOnceOptions exactlyOnceOptions,
org.apache.flink.util.function.SerializableSupplier<XADataSource> dataSourceSupplier)
Create JDBC sink which provides exactly-once guarantee.
|
static <T> org.apache.flink.streaming.api.functions.sink.SinkFunction<T> |
JdbcSink.sink(String sql,
JdbcStatementBuilder<T> statementBuilder,
JdbcExecutionOptions executionOptions,
JdbcConnectionOptions connectionOptions)
Create a JDBC sink.
|
| Constructor and Description |
|---|
JdbcBatchingOutputFormat(JdbcConnectionProvider connectionProvider,
JdbcExecutionOptions executionOptions,
JdbcBatchingOutputFormat.StatementExecutorFactory<JdbcExec> statementExecutorFactory,
JdbcBatchingOutputFormat.RecordExtractor<In,JdbcIn> recordExtractor) |
| Modifier and Type | Method and Description |
|---|---|
JdbcDynamicOutputFormatBuilder |
JdbcDynamicOutputFormatBuilder.setJdbcExecutionOptions(JdbcExecutionOptions executionOptions) |
| Constructor and Description |
|---|
JdbcDynamicTableSink(JdbcOptions jdbcOptions,
JdbcExecutionOptions executionOptions,
JdbcDmlOptions dmlOptions,
org.apache.flink.table.api.TableSchema tableSchema) |
| Constructor and Description |
|---|
JdbcXaSinkFunction(String sql,
JdbcStatementBuilder<T> statementBuilder,
XaFacade xaFacade,
JdbcExecutionOptions executionOptions,
JdbcExactlyOnceOptions options)
Creates a
JdbcXaSinkFunction. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.