public class TabularDataBasedConfig extends SQLConfig
Modifier and Type | Class and Description |
---|---|
static class |
TabularDataBasedConfig.CustomSQLDataSource
Custom SQL data source implementation.
|
Constructor and Description |
---|
TabularDataBasedConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ODataDataHandler |
createODataHandler() |
int |
getActiveConnectionCount() |
DataSource |
getDataSource() |
int |
getIdleConnectionCount() |
boolean |
isStatsAvailable() |
createConnection, createConnection, getAutoCommit, getPrimaryDynAuth, getSecondaryDynAuth, getValidationQuery, hasJDBCBatchUpdateSupport, initSQLDataSource, isActive, isResultSetFieldsCaseSensitive
getConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toString
public TabularDataBasedConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFault
public DataSource getDataSource() throws DataServiceFault
getDataSource
in class SQLConfig
DataServiceFault
public boolean isStatsAvailable() throws DataServiceFault
isStatsAvailable
in class SQLConfig
DataServiceFault
public int getActiveConnectionCount() throws DataServiceFault
getActiveConnectionCount
in class SQLConfig
DataServiceFault
public int getIdleConnectionCount() throws DataServiceFault
getIdleConnectionCount
in class SQLConfig
DataServiceFault
public ODataDataHandler createODataHandler() throws ODataServiceFault
createODataHandler
in class Config
ODataServiceFault
Copyright © 2019 WSO2. All rights reserved.