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