public class DbCPDataSourceProvider extends Object implements DataSourceProvider
DataSourceProvider.DataSourceNameConfigurator| Constructor and Description |
|---|
DbCPDataSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
create(org.apache.hadoop.conf.Configuration hdpConfig,
int maxPoolSize) |
String |
getPoolingType()
Get the declared pooling type string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, getDataSourceName, getMetastoreJdbcDriverUrl, getMetastoreJdbcPasswd, getMetastoreJdbcUser, getPrefixedPropertiespublic DataSource create(org.apache.hadoop.conf.Configuration hdpConfig, int maxPoolSize) throws SQLException
create in interface DataSourceProvidermaxPoolSize - the maximum size of the connection poolSQLExceptionpublic String getPoolingType()
DataSourceProvidergetPoolingType in interface DataSourceProviderCopyright © 2024 The Apache Software Foundation. All rights reserved.