Package dev.galasa.db2.spi
Interface IDb2ManagerSpi
public interface IDb2ManagerSpi
Db2 Manager SPI
Provides either a connection to a DB or a simple connection to a schema within the DB. If the DB has not been connected
too before requesting a schema from that database, the connection will be initialised.
-
Method Summary
Modifier and TypeMethodDescriptiongetInstanceFromTag
(String tag) Provides the db2 instance back.getSchemaFromTag
(String tag, String db2Tag) Retrieve Schema impl from taggetSchemaFromTag
(String tag, String db2Tag, boolean archive) Retrieve Schema impl from taggetSchemaFromTag
(String tag, String db2Tag, boolean archive, int resultSetType, int resultSetConcurrency) Retrieve Schema impl from tag
-
Method Details
-
getInstanceFromTag
Provides the db2 instance back. Both the Connection and meta can be retireived with this.- Parameters:
tag
-- Returns:
- Throws:
Db2ManagerException
-
getSchemaFromTag
Retrieve Schema impl from tag- Parameters:
tag
-db2Tag
-- Returns:
- Throws:
Db2ManagerException
-
getSchemaFromTag
Retrieve Schema impl from tag- Parameters:
tag
-db2Tag
-archive
-- Returns:
- Throws:
Db2ManagerException
-
getSchemaFromTag
IDb2Schema getSchemaFromTag(String tag, String db2Tag, boolean archive, int resultSetType, int resultSetConcurrency) throws Db2ManagerException Retrieve Schema impl from tag- Parameters:
tag
-db2Tag
-archive
-resultSetType
-resultSetConcurrency
-- Returns:
- Throws:
Db2ManagerException
-