| 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.
|
| Modifier and Type | Method and Description |
|---|---|
JdbcExecutionOptions |
JdbcOutputFormat.getExecutionOptions()
Returns configured
JdbcExecutionOptions. |
| Constructor and Description |
|---|
JdbcOutputFormat(JdbcConnectionProvider connectionProvider,
JdbcExecutionOptions executionOptions,
JdbcOutputFormat.StatementExecutorFactory<JdbcExec> statementExecutorFactory,
JdbcOutputFormat.RecordExtractor<In,JdbcIn> recordExtractor) |
| Modifier and Type | Method and Description |
|---|---|
JdbcOutputFormatBuilder |
JdbcOutputFormatBuilder.setJdbcExecutionOptions(JdbcExecutionOptions executionOptions) |
| Constructor and Description |
|---|
JdbcDynamicTableSink(InternalJdbcConnectionOptions jdbcOptions,
JdbcExecutionOptions executionOptions,
JdbcDmlOptions dmlOptions,
org.apache.flink.table.types.DataType physicalRowDataType) |
| Constructor and Description |
|---|
JdbcXaSinkFunction(String sql,
JdbcStatementBuilder<T> statementBuilder,
XaFacade xaFacade,
JdbcExecutionOptions executionOptions,
JdbcExactlyOnceOptions options)
Creates a
JdbcXaSinkFunction. |
Copyright © 2022–2024 The Apache Software Foundation. All rights reserved.