@Default @Singleton public class UnprivilegedDatabaseConnectionProvider extends Object implements org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProvider
| Constructor and Description |
|---|
UnprivilegedDatabaseConnectionProvider(org.gcube.common.database.DatabaseProvider databaseProvider) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
org.gcube.common.database.endpoint.DatabaseEndpoint |
getDatabaseEndpoint() |
org.postgresql.PGConnection |
getPostgreSQLConnection() |
@Inject public UnprivilegedDatabaseConnectionProvider(org.gcube.common.database.DatabaseProvider databaseProvider)
public Connection getConnection() throws SQLException
getConnection in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProviderSQLExceptionpublic org.postgresql.PGConnection getPostgreSQLConnection()
throws SQLException
getPostgreSQLConnection in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProviderSQLExceptionpublic org.gcube.common.database.endpoint.DatabaseEndpoint getDatabaseEndpoint()
getDatabaseEndpoint in interface org.gcube.data.analysis.tabulardata.cube.data.connection.DatabaseConnectionProviderCopyright © 2016. All Rights Reserved.