|
Servoy 4.1.x Public API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataSet
| Method Summary | |
|---|---|
boolean |
addColumn(int columnIndex,
String columnName,
int columnType)
adds a new column to the data set |
void |
addRow(int index,
Object[] new_record_value)
|
void |
addRow(Object[] array)
Add a row in memory (not in db). |
void |
clearHadMoreRows()
clears the moreRows boolean |
int |
getColumnCount()
Get the number of columns in this dataset. |
String[] |
getColumnNames()
Return the names of the columns, can be null is not requested from server. |
int[] |
getColumnTypes()
Return the types of the columns, can be null is not requested from server. |
Object[] |
getRow(int row)
Get a specified row. |
int |
getRowCount()
Get the number of rows in this dataset. |
boolean |
hadMoreRows()
Returns true if the query had more results but this set was limited by performQuery (rowsToRetrieve). |
boolean |
removeColumn(int columnIndex)
removes the column from the specified position (first position is 0) |
void |
removeRow(int index)
Remove a row from memory (not in db). |
void |
setRow(int index,
Object[] array)
Add a row in memory (not in db). |
void |
sort(int column,
boolean ascending)
|
| Method Detail |
|---|
int getRowCount()
Object[] getRow(int row)
row - the row to get
void removeRow(int index)
index, - -1 is removeAll
void setRow(int index,
Object[] array)
index - array - void addRow(Object[] array)
array - int getColumnCount()
String[] getColumnNames()
int[] getColumnTypes()
boolean hadMoreRows()
void clearHadMoreRows()
void addRow(int index,
Object[] new_record_value)
index - new_record_value -
void sort(int column,
boolean ascending)
column - ascending -
boolean addColumn(int columnIndex,
String columnName,
int columnType)
columnIndex - the index where the column should be added (index begins with 0)columnName - the name of the added column
boolean removeColumn(int columnIndex)
columnIndex -
|
Copyright © 2009 Servoy B.V. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||