public class FixedDataTable extends DataTable
| Constructor and Description |
|---|
FixedDataTable(String tableName,
ColumnInfo[] headers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(DataRow dataRow) |
Map<Integer,DataRow> |
applyCondition(String column,
String value,
String operator) |
void |
deleteRows(int... rowIds) |
Map<Integer,DataRow> |
getRows() |
void |
setData(Map<Integer,DataRow> rows) |
void |
updateRows(DataRow... dataRows) |
getHeader, getHeaders, getTableName, hasHeader, setHeaderspublic FixedDataTable(String tableName, ColumnInfo[] headers)
public Map<Integer,DataRow> applyCondition(String column, String value, String operator) throws SQLException
applyCondition in class DataTableSQLExceptionpublic void updateRows(DataRow... dataRows)
updateRows in class DataTablepublic void deleteRows(int... rowIds)
deleteRows in class DataTableCopyright © 2019 WSO2. All rights reserved.