public class TabularDataBasedConfig.CustomSQLDataSource.SQLParserCustomDataSourceAdapter.SQLParserDataTableAdapter
extends org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTable
| Constructor and Description |
|---|
SQLParserDataTableAdapter(String tableName,
DataTable customDataTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow row) |
Map<Integer,org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow> |
applyCondition(String column,
String value,
String operator) |
void |
deleteRows(int... rowIds) |
Map<Integer,org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow> |
getRows() |
void |
updateRows(org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow... data) |
public SQLParserDataTableAdapter(String tableName, DataTable customDataTable) throws DataServiceFault
DataServiceFaultpublic void addRow(org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow row)
throws SQLException
addRow in class org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTableSQLExceptionpublic Map<Integer,org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow> applyCondition(String column, String value, String operator) throws SQLException
applyCondition in class org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTableSQLExceptionpublic Map<Integer,org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow> getRows() throws SQLException
getRows in class org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTableSQLExceptionpublic void deleteRows(int... rowIds)
throws SQLException
deleteRows in class org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTableSQLExceptionpublic void updateRows(org.wso2.carbon.dataservices.sql.driver.processor.reader.DataRow... data)
throws SQLException
updateRows in class org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTableSQLExceptionCopyright © 2018 WSO2. All rights reserved.