Class DbCredentialsPostgreSQL
java.lang.Object
com.sap.cds.feature.mt.lib.subscription.DbCredentials
com.sap.cds.feature.mt.lib.subscription.DbCredentialsPostgreSQL
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.cds.feature.mt.lib.subscription.DbCredentials
DbCredentials.HostAndPort, DbCredentials.UserAndPassword -
Field Summary
Fields inherited from class com.sap.cds.feature.mt.lib.subscription.DbCredentials
JDBC, uri -
Constructor Summary
ConstructorsConstructorDescriptionDbCredentialsPostgreSQL(DbCredentialsPostgreSQL dbCredentials) DbCredentialsPostgreSQL(String user, String password, String host, String port, String database, String uriStr) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildUrl()getDB()protected List<DbCredentials.HostAndPort>getHostsFromUri(URI uri) protected DbCredentials.UserAndPasswordgetUserFromUri(URI uri) Methods inherited from class com.sap.cds.feature.mt.lib.subscription.DbCredentials
getDriver, getHost, getPassword, getPort, getUrl, getUser
-
Constructor Details
-
DbCredentialsPostgreSQL
public DbCredentialsPostgreSQL(String user, String password, String host, String port, String database, String uriStr) throws InternalError - Throws:
InternalError
-
DbCredentialsPostgreSQL
-
-
Method Details
-
getDatabaseId
- Specified by:
getDatabaseIdin classDbCredentials
-
buildUrl
- Specified by:
buildUrlin classDbCredentials
-
getDB
- Specified by:
getDBin classDbCredentials
-
createCopy
- Specified by:
createCopyin classDbCredentials
-
getHostsFromUri
- Specified by:
getHostsFromUriin classDbCredentials
-
getUserFromUri
- Specified by:
getUserFromUriin classDbCredentials
-