de.mguennewig.pobjects.jdbc
Class JdbcQuery.PObjJdbcResultSet

java.lang.Object
  extended by de.mguennewig.pobjects.jdbc.JdbcQuery.PObjJdbcResultSet
All Implemented Interfaces:
PObjResultSet
Enclosing class:
JdbcQuery

public class JdbcQuery.PObjJdbcResultSet
extends java.lang.Object
implements PObjResultSet


Constructor Summary
JdbcQuery.PObjJdbcResultSet(EvalContext context, java.sql.ResultSet rs)
          Creates a new PObjJdbcResultSet.
 
Method Summary
 void close()
          Closes this result set and frees any held resources.
 Record[] getRow()
          Retrieves the current row from this result set.
 boolean next()
          Moves cursor to the next row in the result set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcQuery.PObjJdbcResultSet

public JdbcQuery.PObjJdbcResultSet(EvalContext context,
                                   java.sql.ResultSet rs)
Creates a new PObjJdbcResultSet.

Method Detail

close

public void close()
Closes this result set and frees any held resources.

After closing a result set it can not be used anymore.

Specified by:
close in interface PObjResultSet

next

public boolean next()
Moves cursor to the next row in the result set.

Specified by:
next in interface PObjResultSet
Returns:
true if the next row is valid, otherwise false.

getRow

public Record[] getRow()
Retrieves the current row from this result set.

Specified by:
getRow in interface PObjResultSet