Class DqguiDatabaseService
- java.lang.Object
-
- de.hshannover.dqgui.execution.database.DqguiDatabaseService
-
- All Implemented Interfaces:
DatabaseService
,java.lang.AutoCloseable
public final class DqguiDatabaseService extends java.lang.Object implements DatabaseService, java.lang.AutoCloseable
DQGUI Database Service Implementation.
-
-
Constructor Summary
Constructors Constructor Description DqguiDatabaseService(java.util.Set<DatabaseConnection> connections)
Create a new DQGUI Database Service
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.Collection<TargetedDatabase>
getCalledDatabases()
DatabaseEntryIterator
getEntryListOfSource(java.lang.String identifier, java.lang.String query)
java.lang.String
getQueryLanguage(java.lang.String identifier)
-
-
-
Constructor Detail
-
DqguiDatabaseService
public DqguiDatabaseService(java.util.Set<DatabaseConnection> connections)
Create a new DQGUI Database Service- Parameters:
connections
- to use within the service
-
-
Method Detail
-
getCalledDatabases
public java.util.Collection<TargetedDatabase> getCalledDatabases()
- Returns:
- all identifiers and their mapped connection that were called by the service
-
getEntryListOfSource
public DatabaseEntryIterator getEntryListOfSource(java.lang.String identifier, java.lang.String query) throws Iqm4hdException
- Specified by:
getEntryListOfSource
in interfaceDatabaseService
- Throws:
Iqm4hdException
-
getQueryLanguage
public java.lang.String getQueryLanguage(java.lang.String identifier)
- Specified by:
getQueryLanguage
in interfaceDatabaseService
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-