public class SQLCarbonDataSourceConfig extends SQLConfig
| Constructor and Description |
|---|
SQLCarbonDataSourceConfig(DataService dataService,
String configId,
Map<String,String> properties) |
SQLCarbonDataSourceConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ODataDataHandler |
createODataHandler() |
int |
getActiveConnectionCount() |
static List<String> |
getCarbonDataSourceNames() |
static List<String> |
getCarbonDataSourceNamesForType(String[] types) |
static String |
getCarbonDataSourceType(String dsName) |
DataSource |
getDataSource() |
String |
getDataSourceName() |
int |
getIdleConnectionCount() |
boolean |
isStatsAvailable() |
createConnection, createConnection, getAutoCommit, getPrimaryDynAuth, getSecondaryDynAuth, getValidationQuery, hasJDBCBatchUpdateSupport, initSQLDataSource, isActive, isResultSetFieldsCaseSensitivegetConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toStringpublic SQLCarbonDataSourceConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFaultpublic SQLCarbonDataSourceConfig(DataService dataService, String configId, Map<String,String> properties) throws DataServiceFault
DataServiceFaultpublic DataSource getDataSource()
getDataSource in class SQLConfigpublic String getDataSourceName()
public static List<String> getCarbonDataSourceNamesForType(String[] types)
public int getActiveConnectionCount()
getActiveConnectionCount in class SQLConfigpublic int getIdleConnectionCount()
getIdleConnectionCount in class SQLConfigpublic boolean isStatsAvailable()
isStatsAvailable in class SQLConfigpublic ODataDataHandler createODataHandler() throws ODataServiceFault
createODataHandler in class ConfigODataServiceFaultCopyright © 2017 WSO2. All rights reserved.