public interface MemoryResultSet
extends java.io.Serializable
MemoryResultSet resembles a ResultSet in a
very simple way. It has columns and rows with values; columns have a label
and a type. The values are provided per row and are of the Java equivalent
of the corresponding ProcessConstants.AdeptDataType.
Note that unlike a ResultSet, a MemoryResultSet
is zero-based, that is, columns and rows start with 0!
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Gets the amount of columns of this memory result set.
|
java.lang.String |
getColumnLabel(int column)
Gets the label for the designated column.
|
ProcessConstants.AdeptDataType |
getColumnType(int column)
Gets the data type for the designated column.
|
int |
getRowCount()
Gets the amount of rows of this memory result set.
|
java.io.Serializable[] |
getValues(int row)
Gets the values for the designated rows.
|
static final long serialVersionUID
int getColumnCount()
int getRowCount()
java.lang.String getColumnLabel(int column)
getColumnCount().column - The column for which to get the label.ProcessConstants.AdeptDataType getColumnType(int column)
getColumnCount().column - The column for which to get the data type.java.io.Serializable[] getValues(int row)
getRowCount(). The values in the array are of the Java-type
corresponding to the ProcessConstants.AdeptDataType of the corresponding column.
null represents a usual null.row - The row for which to get the values.