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
DataServiceFault
public 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.DataTable
SQLException
public 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.DataTable
SQLException
public 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.DataTable
SQLException
public void deleteRows(int... rowIds) throws SQLException
deleteRows
in class org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTable
SQLException
public 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.DataTable
SQLException
Copyright © 2019 WSO2. All rights reserved.