ICellsDataTable
public interface ICellsDataTable
Represents data table.
Remarks
Methods
Method | Description |
---|---|
beforeFirst() | Move the cursor to the front of this object, just before the first row. |
get(int columnIndex) | Gets the data stored in the column specified by index. |
get(String columnName) | Gets the data stored in the column specified by column name. |
getColumns() | Gets the columns’ name. |
getCount() | Gets the count of the records. -1 for unknown records count. |
next() | Moves the cursor down one row from its current position. |
beforeFirst()
public abstract void beforeFirst()
Move the cursor to the front of this object, just before the first row.
get(int columnIndex)
public abstract Object get(int columnIndex)
Gets the data stored in the column specified by index.
Parameters:
Parameter | Type | Description |
---|---|---|
columnIndex | int | The zero-based index of the column. |
Returns: java.lang.Object -
get(String columnName)
public abstract Object get(String columnName)
Gets the data stored in the column specified by column name.
Parameters:
Parameter | Type | Description |
---|---|---|
columnName | java.lang.String | The column name. |
Returns: java.lang.Object -
getColumns()
public abstract String[] getColumns()
Gets the columns’ name.
Returns: java.lang.String[]
getCount()
public abstract int getCount()
Gets the count of the records. -1 for unknown records count.
Returns: int
next()
public abstract boolean next()
Moves the cursor down one row from its current position.
Returns: boolean - if the new current row is valid; false if there are no more rows