public class MysqlImportService extends Object
| Modifier and Type | Method and Description |
|---|---|
static MysqlImportService |
builder() |
boolean |
importDatabase() |
MysqlImportService |
setDatabase(String database) |
MysqlImportService |
setDeleteExisting(boolean deleteExisting) |
MysqlImportService |
setDropExisting(boolean dropExistingTable) |
MysqlImportService |
setJdbcConnString(String jdbcConnString) |
MysqlImportService |
setJdbcDriver(String jdbcDriver) |
MysqlImportService |
setPassword(String password) |
MysqlImportService |
setSqlString(String sqlString) |
MysqlImportService |
setUsername(String username) |
public boolean importDatabase()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionpublic static MysqlImportService builder()
public MysqlImportService setDatabase(String database)
public MysqlImportService setUsername(String username)
public MysqlImportService setPassword(String password)
public MysqlImportService setSqlString(String sqlString)
public MysqlImportService setDeleteExisting(boolean deleteExisting)
public MysqlImportService setDropExisting(boolean dropExistingTable)
public MysqlImportService setJdbcDriver(String jdbcDriver)
public MysqlImportService setJdbcConnString(String jdbcConnString)
Copyright © 2018. All rights reserved.