Package com.io7m.idstore.database.api
Interface IdDatabaseType
- All Superinterfaces:
AutoCloseable,IdServiceType
- All Known Implementing Classes:
IdDatabase
An open database.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()openConnection(IdDatabaseRole role) Open a database connection using the given role.Methods inherited from interface com.io7m.idstore.services.api.IdServiceType
description
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IdDatabaseException
-
openConnection
Open a database connection using the given role.- Parameters:
role- The role- Returns:
- A database connection
- Throws:
IdDatabaseException- On errors
-