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.


Field Summary
(package private)  ResultSet resultSet
           
(package private)  Object[] values
           
 
Constructor Summary
Row(ResultSet resultSet)
           
 
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
 

Field Detail

resultSet

ResultSet resultSet

values

Object[] values
Constructor Detail

Row

public Row(ResultSet resultSet)
    throws SQLException
Method Detail

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

SourceForge.net_Logo