public static class DatabaseMetaDataReader.Builder extends Object
Modifier and Type | Method and Description |
---|---|
DatabaseMetaDataReader |
build() |
DatabaseMetaDataReader.Builder |
credentials(String user,
String password) |
DatabaseMetaDataReader.Builder |
driver(Driver driver) |
DatabaseMetaDataReader.Builder |
driver(String driverClass) |
DatabaseMetaDataReader.Builder |
driver(String driverClass,
Collection<Path> driverClasspath) |
DatabaseMetaDataReader.Builder |
driver(String driverClass,
Path driverClasspath) |
DatabaseMetaDataReader.Builder |
driver(String driverClass,
URL[] classpath) |
DatabaseMetaDataReader.Builder |
properties(Properties properties) |
DatabaseMetaDataReader.Builder |
property(String key,
String value) |
public Builder(String url)
public DatabaseMetaDataReader build() throws SQLException
SQLException
public DatabaseMetaDataReader.Builder properties(Properties properties)
public DatabaseMetaDataReader.Builder property(String key, String value)
public DatabaseMetaDataReader.Builder credentials(String user, String password)
public DatabaseMetaDataReader.Builder driver(Driver driver)
public DatabaseMetaDataReader.Builder driver(String driverClass) throws ReflectiveOperationException, IOException
public DatabaseMetaDataReader.Builder driver(String driverClass, Path driverClasspath) throws ReflectiveOperationException, IOException
public DatabaseMetaDataReader.Builder driver(String driverClass, Collection<Path> driverClasspath) throws ReflectiveOperationException, IOException
public DatabaseMetaDataReader.Builder driver(String driverClass, URL[] classpath) throws ReflectiveOperationException
ReflectiveOperationException
Copyright © GigaSpaces.