public class TabularDataBasedConfig.CustomSQLDataSource.SQLParserCustomDataSourceAdapter extends Object implements org.wso2.carbon.dataservices.sql.driver.TCustomConnection.CustomDataSource
| Modifier and Type | Class and Description |
|---|---|
class |
TabularDataBasedConfig.CustomSQLDataSource.SQLParserCustomDataSourceAdapter.SQLParserDataTableAdapter
Adapter class for a SQL Parser data table.
|
| Constructor and Description |
|---|
SQLParserCustomDataSourceAdapter(TabularDataBasedDS customDS) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
createDataTable(String name,
Map<String,Integer> columns) |
void |
dropDataTable(String name) |
org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTable |
getDataTable(String name) |
Set<String> |
getDataTableNames() |
void |
init(Properties props) |
public SQLParserCustomDataSourceAdapter(TabularDataBasedDS customDS)
public void createDataTable(String name, Map<String,Integer> columns) throws SQLException
createDataTable in interface org.wso2.carbon.dataservices.sql.driver.TCustomConnection.CustomDataSourceSQLExceptionpublic void dropDataTable(String name) throws SQLException
dropDataTable in interface org.wso2.carbon.dataservices.sql.driver.TCustomConnection.CustomDataSourceSQLExceptionpublic org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTable getDataTable(String name) throws SQLException
getDataTable in interface org.wso2.carbon.dataservices.sql.driver.TCustomConnection.CustomDataSourceSQLExceptionpublic Set<String> getDataTableNames() throws SQLException
getDataTableNames in interface org.wso2.carbon.dataservices.sql.driver.TCustomConnection.CustomDataSourceSQLExceptionpublic void init(Properties props) throws SQLException
init in interface org.wso2.carbon.dataservices.sql.driver.TCustomConnection.CustomDataSourceSQLExceptionpublic void close()
Copyright © 2017 WSO2. All rights reserved.