|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.ResultSetPicker
public class ResultSetPicker
Constructor Summary | |
---|---|
ResultSetPicker(ResultSetHandle resultSetHandle)
|
Method Summary | |
---|---|
boolean |
assignRowValues(java.sql.ResultSet receiver,
int currentRow)
This method is called once for each row that should be returned from a procedure that returns a set of rows. |
void |
close()
Called after the last row has returned or when the query evaluator decides that it does not need any more rows. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetPicker(ResultSetHandle resultSetHandle) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public boolean assignRowValues(java.sql.ResultSet receiver, int currentRow) throws java.sql.SQLException
ResultSetProvider
SingleRowWriter
writer instance that is used for capturing the data for the row. The
same receiver instance will be used for all calls that occurs
between #activate
and #passivate
.
assignRowValues
in interface ResultSetProvider
receiver
- Receiver of values for the given row.currentRow
- Row number. First call will have row number 0.
true
if a new row was provided, false
if not (end of data).
java.sql.SQLException
public void close() throws java.sql.SQLException
ResultSetProvider
close
in interface ResultSetProvider
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |