public class DBProperties
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DBProperties.ConnectionPoolType
Connection Pool Type to use in the backend
|
static class |
DBProperties.DatabaseType
These constants are used to specify the DataBaseType from any of the listed types as, ERWIN, CWM, XMI, XSD, DSV, JSON, EXCEL, MSACCESS,HSQLDB,
SQLSERVER, SQLSERVERWINDOWS, ORACLE, GREENPLUM, VERTICA, SYBASE, PERVASIVE, TERADATA, DB2, MYSQL, NETEZZA, SAP, AMAZON_REDSHIFT("AmazonRedshift"), OTHER, ODBC, BIGDATA_CLOUDERA("Cloudera"), BIGDATA_HORTONWORKS("Hortonworks"), BIGDATA_MAPR("MapR"),SALESFORCE. |
static class |
DBProperties.Operation
These constants are used to specify whether the operation Type is of FRESH_UPLOAD, APPEND, UPDATE_APPEND.
|
Constructor and Description |
---|
DBProperties() |
Modifier and Type | Method and Description |
---|---|
DBProperties.ConnectionPoolType |
getConnectionPoolType() |
java.lang.String |
getDatabaseHost()
Returns the databaseHost.
|
java.lang.String |
getDatabaseName()
Returns the databaseName.
|
java.lang.String |
getDatabaseOptions() |
DBProperties.DatabaseType |
getDatabaseType()
Returns the databaseType.
|
java.lang.String |
getDomain()
Returns the domain.
|
java.lang.String |
getDriverName()
Returns the driverName.
|
DBHelper.ModelType |
getERwinModelType() |
java.lang.String |
getKerberosPrincipal() |
int |
getMaximumConnectionsPerPartition()
Returns the maximumConnectionsPerPartition.
|
int |
getMinimumConnectionsPerPartition()
Returns the minimumConnectionsPerPartition.
|
java.lang.String |
getOraclePIKProviderPosition() |
java.lang.String |
getOracleWalletLocation() |
int |
getPartitions()
Returns the partitions.
|
java.util.ArrayList<java.lang.String> |
getSchemas()
Returns the schemas.
|
java.lang.String |
getSecretCode()
Returns the password.
|
int |
getSshPort() |
java.lang.String |
getTestConnectionQuery()
Returns the testConnectionQuery as specified.
|
java.lang.String |
getTestConnectionQueryOnCheckOut() |
java.lang.String |
getTransactionIsolation() |
java.lang.String |
getUrl()
Returns the URL.
|
java.lang.String |
getUserName()
Returns the userName.
|
boolean |
isAutoCommit()
Returns the autoCommit value.
|
boolean |
isHasAccessToDba() |
boolean |
isOracleEnableSSLConnection() |
boolean |
isOracleSSLServerDNMatch() |
java.lang.String |
isReadOnly() |
boolean |
isSupportAutoCommit() |
boolean |
isTestConnectionOnCheckout() |
boolean |
isTestConnectionPeriodically()
Returns the value of testConnectionPeriodically.
|
static void |
main(java.lang.String[] args) |
void |
setAutoCommit(boolean autoCommit)
Sets the autoCommit value as specified.
|
void |
setConnectionPoolType(DBProperties.ConnectionPoolType connectionPoolType) |
void |
setDatabaseHost(java.lang.String databaseHost)
Sets the databaseHost as specified.
|
void |
setDatabaseName(java.lang.String databaseName)
Sets the databaseName as specified.
|
void |
setDatabaseOptions(java.lang.String databaseOptions) |
void |
setDatabaseType(DBProperties.DatabaseType dbType)
Sets the databaseType as specified.
|
void |
setDomain(java.lang.String domain)
Sets the domain as specified.
|
void |
setDriverName(java.lang.String driverName)
Sets the driverName as specified.
|
void |
setERwinModelType(DBHelper.ModelType erwinModelType) |
void |
setHasAccessToDba(boolean hasAccessToDba) |
void |
setKerberosPrincipal(java.lang.String kerberosPrincipal) |
void |
setMaximumConnectionsPerPartition(int maximumConnectionsPerPartition)
Sets the maximumConnectionsPerPartition as specified.
|
void |
setMinimumConnectionsPerPartition(int minimumConnectionsPerPartition)
Sets the minimumConnectionsPerPartition as specified.
|
void |
setOracleEnableSSLConnection(boolean oracleEnableSSLConnection) |
void |
setOraclePIKProviderPosition(java.lang.String oraclePIKProviderPosition) |
void |
setOracleSSLServerDNMatch(boolean oracleSSLServerDNMatch) |
void |
setOracleWalletLocation(java.lang.String oracleWalletLocation) |
void |
setPartitions(int partitions)
Sets the partitions as specified.
|
void |
setReadOnly(java.lang.String readOnly) |
void |
setSchemas(java.util.ArrayList<java.lang.String> schemas)
Sets the schemas as specified.
|
void |
setSecretCode(java.lang.String password)
Sets the password as specified.
|
void |
setSshPort(int sshPort) |
void |
setSupportAutoCommit(boolean supportAutoCommit) |
void |
setTestConnectionOnCheckout(boolean testConnectionOnCheckout) |
void |
setTestConnectionPeriodically(boolean _testConnectionPeriodically)
Sets the testConnectionPeriodically value as specified.
|
void |
setTestConnectionQuery(java.lang.String _testConnectionQuery)
Sets the testConnectionQuery as specified.
|
void |
setTestConnectionQueryOnCheckOut(java.lang.String _testConnectionQueryOnCheckOut) |
void |
setTransactionIsolation(java.lang.String transactionIsolation) |
void |
setUrl(java.lang.String url)
Sets the URL as specified.
|
void |
setUserName(java.lang.String userName)
Sets the userName as specified.
|
public DBProperties.ConnectionPoolType getConnectionPoolType()
public void setConnectionPoolType(DBProperties.ConnectionPoolType connectionPoolType)
connectionPoolType
- the connectionPoolType to setpublic DBHelper.ModelType getERwinModelType()
public void setERwinModelType(DBHelper.ModelType erwinModelType)
erwinModelType
- the erwinModelType to setpublic boolean isTestConnectionOnCheckout()
public void setTestConnectionOnCheckout(boolean testConnectionOnCheckout)
public java.lang.String getTestConnectionQueryOnCheckOut()
public void setTestConnectionQueryOnCheckOut(java.lang.String _testConnectionQueryOnCheckOut)
public java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain
- Stringpublic java.lang.String getDatabaseName()
public void setDatabaseName(java.lang.String databaseName)
databaseName
- Stringpublic java.util.ArrayList<java.lang.String> getSchemas()
public void setSchemas(java.util.ArrayList<java.lang.String> schemas)
schemas
- - ArrayListpublic java.lang.String getUrl()
public java.lang.String getUserName()
public java.lang.String getSecretCode()
public java.lang.String getDriverName()
public DBProperties.DatabaseType getDatabaseType()
public void setDriverName(java.lang.String driverName)
driverName
- Stringpublic void setUrl(java.lang.String url)
url
- Stringpublic void setUserName(java.lang.String userName)
userName
- Stringpublic void setSecretCode(java.lang.String password)
password
- Stringpublic void setDatabaseType(DBProperties.DatabaseType dbType)
dbType
- Stringpublic int getPartitions()
public void setPartitions(int partitions)
partitions
- intpublic int getMinimumConnectionsPerPartition()
public void setMinimumConnectionsPerPartition(int minimumConnectionsPerPartition)
minimumConnectionsPerPartition
- intpublic int getMaximumConnectionsPerPartition()
public void setMaximumConnectionsPerPartition(int maximumConnectionsPerPartition)
maximumConnectionsPerPartition
- intpublic boolean isTestConnectionPeriodically()
public void setTestConnectionPeriodically(boolean _testConnectionPeriodically)
_testConnectionPeriodically
- booleanpublic java.lang.String getTestConnectionQuery()
public void setTestConnectionQuery(java.lang.String _testConnectionQuery)
_testConnectionQuery
- Stringpublic boolean isAutoCommit()
public void setAutoCommit(boolean autoCommit)
autoCommit
- booleanpublic static void main(java.lang.String[] args)
public java.lang.String getDatabaseHost()
public void setDatabaseHost(java.lang.String databaseHost)
databaseHost
- Stringpublic java.lang.String getTransactionIsolation()
public void setTransactionIsolation(java.lang.String transactionIsolation)
transactionIsolation
- public java.lang.String isReadOnly()
public void setReadOnly(java.lang.String readOnly)
readOnly
- public java.lang.String getKerberosPrincipal()
public void setKerberosPrincipal(java.lang.String kerberosPrincipal)
kerberosPrincipal
- public int getSshPort()
public void setSshPort(int sshPort)
sshPort
- public boolean isOracleEnableSSLConnection()
public void setOracleEnableSSLConnection(boolean oracleEnableSSLConnection)
public java.lang.String getOracleWalletLocation()
public void setOracleWalletLocation(java.lang.String oracleWalletLocation)
public java.lang.String getOraclePIKProviderPosition()
public void setOraclePIKProviderPosition(java.lang.String oraclePIKProviderPosition)
public boolean isOracleSSLServerDNMatch()
public void setOracleSSLServerDNMatch(boolean oracleSSLServerDNMatch)
public java.lang.String getDatabaseOptions()
public void setDatabaseOptions(java.lang.String databaseOptions)
public boolean isSupportAutoCommit()
public void setSupportAutoCommit(boolean supportAutoCommit)
public boolean isHasAccessToDba()
public void setHasAccessToDba(boolean hasAccessToDba)