saffron.runtime
Class Row
java.lang.Object
|
+--saffron.runtime.Row
- public class Row
- extends Object
When a relational expression obeys the result set calling convention
, and
does not explicitly specify a row type, the results are object of type
Row
.
Method Summary |
Object |
getObject(int columnIndex)
Returns the value of a given column, similar to ResultSet.getObject(int) . |
ResultSet |
getResultSet()
Returns the result set that this row belongs to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultSet
ResultSet resultSet
values
Object[] values
Row
public Row(ResultSet resultSet)
throws SQLException
getResultSet
public ResultSet getResultSet()
- Returns the result set that this row belongs to.
getObject
public Object getObject(int columnIndex)
- Returns the value of a given column, similar to
ResultSet.getObject(int)
.
- Parameters:
columnIndex
- the first column is 1, the second is 2, ...
- Returns:
- a
java.lang.Object
holding the column value