org.wso2.carbon.dataservices.sql.driver.processor.reader
Class FixedDataTable
java.lang.Object
org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTable
org.wso2.carbon.dataservices.sql.driver.processor.reader.FixedDataTable
public class FixedDataTable
- extends DataTable
Fixed data table implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedDataTable
public FixedDataTable(String tableName,
ColumnInfo[] headers)
getRows
public Map<Integer,DataRow> getRows()
- Specified by:
getRows in class DataTable
setData
public void setData(Map<Integer,DataRow> rows)
addRow
public void addRow(DataRow dataRow)
- Specified by:
addRow in class DataTable
applyCondition
public Map<Integer,DataRow> applyCondition(String column,
String value,
String operator)
throws SQLException
- Specified by:
applyCondition in class DataTable
- Throws:
SQLException
updateRows
public void updateRows(DataRow... dataRows)
- Specified by:
updateRows in class DataTable
deleteRows
public void deleteRows(int... rowIds)
- Specified by:
deleteRows in class DataTable
Copyright © 2015 WSO2. All rights reserved.