Package | Description |
---|---|
org.apache.flink.connector.jdbc.internal |
Modifier and Type | Method and Description |
---|---|
static JdbcOutputFormat.Builder |
JdbcOutputFormat.builder() |
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setFieldNames(String[] fieldNames)
required, field names of this jdbc sink.
|
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setFieldTypes(int[] fieldTypes)
required, field types of this jdbc sink.
|
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setFlushIntervalMills(long flushIntervalMills)
optional, flush interval mills, over this time, asynchronous threads will flush data.
|
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setFlushMaxSize(int flushMaxSize)
optional, flush max size (includes all append, upsert and delete records), over this
number of records, will flush data.
|
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setKeyFields(String[] keyFields)
required, upsert unique keys.
|
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setMaxRetryTimes(int maxRetryTimes)
optional, max retry times for jdbc connector.
|
JdbcOutputFormat.Builder |
JdbcOutputFormat.Builder.setOptions(JdbcConnectorOptions options)
required, jdbc options.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.