public interface DbConnector
Modifier and Type | Method and Description |
---|---|
void |
closeConnection()
Closes the connection to the database.
|
java.sql.ResultSet |
executeQuery(java.lang.String query)
Returns the result of the SQL query executed against the database.
|
java.lang.String |
getDatabaseUrl()
Returns the Database URL.
|
java.lang.String getDatabaseUrl()
java.sql.ResultSet executeQuery(java.lang.String query)
query
- A SQL command for the SELECT query.void closeConnection()