Package org.apache.wayang.jdbc.execution
Class DatabaseDescriptor
java.lang.Object
org.apache.wayang.jdbc.execution.DatabaseDescriptor
This class describes a database.
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseDescriptor
(String jdbcUrl, String user, String password, String jdbcDriverClassName) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionCreates aConnection
to the database described by this instance.
-
Constructor Details
-
DatabaseDescriptor
Creates a new instance.- Parameters:
jdbcUrl
- JDBC URL to the databaseuser
- optional user name ornull
password
- optional password ornull
jdbcDriverClassName
- name of the JDBC driverClass
to access the database; required forcreateJdbcConnection()
-
-
Method Details
-
createJdbcConnection
Creates aConnection
to the database described by this instance.- Returns:
- the
Connection
-