public static class JDBCTableSource.Builder extends Object
JDBCTableSource.| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
JDBCTableSource |
build()
Finalizes the configuration and checks validity.
|
JDBCTableSource.Builder |
setLookupOptions(JDBCLookupOptions lookupOptions)
optional, lookup related options.
|
JDBCTableSource.Builder |
setOptions(JDBCOptions options)
required, jdbc options.
|
JDBCTableSource.Builder |
setReadOptions(JDBCReadOptions readOptions)
optional, scan related options.
|
JDBCTableSource.Builder |
setSchema(org.apache.flink.table.api.TableSchema schema)
required, table schema of this table source.
|
public JDBCTableSource.Builder setOptions(JDBCOptions options)
public JDBCTableSource.Builder setReadOptions(JDBCReadOptions readOptions)
JDBCReadOptions will be only used for StreamTableSource.public JDBCTableSource.Builder setLookupOptions(JDBCLookupOptions lookupOptions)
JDBCLookupOptions only be used for LookupableTableSource.public JDBCTableSource.Builder setSchema(org.apache.flink.table.api.TableSchema schema)
public JDBCTableSource build()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.