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, setHeaders
public FixedDataTable(String tableName, ColumnInfo[] headers)
public Map<Integer,DataRow> applyCondition(String column, String value, String operator) throws SQLException
applyCondition
in class DataTable
SQLException
public void updateRows(DataRow... dataRows)
updateRows
in class DataTable
public void deleteRows(int... rowIds)
deleteRows
in class DataTable
Copyright © 2020 WSO2. All rights reserved.