public static class JdbcOutputFormat.JdbcOutputFormatBuilder extends Object
JdbcOutputFormat
.Modifier and Type | Method and Description |
---|---|
JdbcConnectionOptions |
buildConnectionOptions() |
JdbcOutputFormat |
finish()
Finalizes the configuration and checks validity.
|
JdbcOutputFormat.JdbcOutputFormatBuilder |
setBatchSize(int batchSize) |
JdbcOutputFormat.JdbcOutputFormatBuilder |
setDBUrl(String dbURL) |
JdbcOutputFormat.JdbcOutputFormatBuilder |
setDrivername(String drivername) |
JdbcOutputFormat.JdbcOutputFormatBuilder |
setPassword(String password) |
JdbcOutputFormat.JdbcOutputFormatBuilder |
setQuery(String query) |
JdbcOutputFormat.JdbcOutputFormatBuilder |
setSqlTypes(int[] typesArray) |
JdbcOutputFormat.JdbcOutputFormatBuilder |
setUsername(String username) |
public JdbcOutputFormat.JdbcOutputFormatBuilder setUsername(String username)
public JdbcOutputFormat.JdbcOutputFormatBuilder setPassword(String password)
public JdbcOutputFormat.JdbcOutputFormatBuilder setDrivername(String drivername)
public JdbcOutputFormat.JdbcOutputFormatBuilder setDBUrl(String dbURL)
public JdbcOutputFormat.JdbcOutputFormatBuilder setQuery(String query)
public JdbcOutputFormat.JdbcOutputFormatBuilder setBatchSize(int batchSize)
public JdbcOutputFormat.JdbcOutputFormatBuilder setSqlTypes(int[] typesArray)
public JdbcOutputFormat finish()
public JdbcConnectionOptions buildConnectionOptions()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.