public static class JDBCTableSource.Builder extends Object
JDBCTableSource
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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(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(TableSchema schema)
public JDBCTableSource build()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.