This interface abstracts away how row data is accessed by the result set. It
is meant to allow a static implementation (Current version), and a streaming
one.
author: dgan
Field Summary
final public static int
RESULT_SET_SIZE_UNKNOWN What's returned for the size of a result set when its size can not be
determined.
removeRow(int index) Removes the row at the given index.
void
setCurrentRow(int rowNumber) Moves the current position in the result set to the given row number.
void
setMetadata(Field[] metadata) Sometimes the driver doesn't have metadata until after
the statement has the result set in-hand (because it's cached),
so it can call this to set it after the fact.
Returns true if the result set is dynamic.
This means that move back and move forward won't work because we do not
hold on to the records.
true if this result set is streaming from the server throws: SQLException - if a database error occurs
Moves the current position relative 'rows' from the current position.
Parameters: rows - the relative number of rows to move throws: SQLException - if a database error occurs
Moves the current position in the result set to the given row number.
Parameters: rowNumber - row to move to throws: SQLException - if a database error occurs
Sometimes the driver doesn't have metadata until after
the statement has the result set in-hand (because it's cached),
so it can call this to set it after the fact.
Parameters: metadata - field-level metadata for the result set