Package com.sap.cloud.mt.subscription
Class DataSourceInfo
java.lang.Object
com.sap.cloud.mt.subscription.DataSourceInfo
Created by d025461 on 09.05.17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getDbKey()getHost()getId()getPort()getUrl()getUser()voidsetCertificate(String certificate) voidsetDatabaseId(String databaseId) voidvoidvoidsetHdiPassword(String hdiPassword) voidsetHdiUser(String hdiUser) voidvoidvoidsetPassword(String password) voidvoidvoidsetStatusAsText(String statusAsText) voidsetTenantId(String tenantId) voidvoid
-
Constructor Details
-
DataSourceInfo
public DataSourceInfo()
-
-
Method Details
-
getSchema
-
getDriver
-
getPort
-
getHost
-
getUser
-
getPassword
-
getHdiUser
-
getHdiPassword
-
getUrl
-
getCertificate
-
setSchema
- Parameters:
schema- Database schema.
-
setDriver
- Parameters:
driver- Database driver name.
-
setPort
- Parameters:
port- Database port.
-
setHost
- Parameters:
host- Database host.
-
setUser
- Parameters:
user- Database user.
-
setPassword
- Parameters:
password- Database password.
-
setHdiUser
- Parameters:
hdiUser- Only for HANA: user used for HDI operations.
-
setHdiPassword
- Parameters:
hdiPassword- Only for HANA: password of HDI user.
-
setUrl
- Parameters:
url- Database url.
-
setCertificate
- Parameters:
certificate- Only for HANA: Database certificate
-
getTenantId
-
setTenantId
- Parameters:
tenantId- Tenant id of owner of schema/HDI container.
-
getId
-
setId
- Parameters:
id- Identifier which was passed to create instance/schema, equal to tenant id
-
getStatusAsText
-
setStatusAsText
- Parameters:
statusAsText- Status of created schema/HDI container as text.
-
getDbKey
-
setDbKey
- Parameters:
dbKey- Unique key that identifies a database. Can be for example the database url or "host:port" .. . Used by the mt-lib to decide which tenants can be handled with the same connection pool. In mode oneDataSourcePerDb only one connection pool per DB is created.
-
getDatabaseId
-
setDatabaseId
- Parameters:
databaseId- Official DB dependent identifier of a database. Not necessarily unique. In case of HANA it is the HANA database id. For PostgreSQL it is database attribute "database". The mt-libs build the names of its own schemas/instances by concatenation of a prefix with the databaseId. In HANA case it is also needed to inform the service manager on which HANA DB the HDI container shall be created.
-
clone
-