|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NoPutResultSet interface is used to provide additional operations on result sets that can be used in returning rows up a ResultSet tree.
Since the ResulSet operations must also be supported by NoPutResultSets, we extend that interface here as well.
Field Summary | |
static java.lang.String |
ABSOLUTE
|
static java.lang.String |
FIRST
|
static java.lang.String |
LAST
|
static java.lang.String |
NEXT
|
static java.lang.String |
PREVIOUS
|
static java.lang.String |
RELATIVE
|
Fields inherited from interface org.apache.derby.iapi.sql.ResultSet |
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST |
Method Summary | |
void |
clearCurrentRow()
Clear the current row |
double |
getEstimatedRowCount()
Get the estimated row count from this result set. |
ExecRow |
getNextRowCore()
Return the requested values computed from the next row (if any) for which the restriction evaluates to true. |
int |
getPointOfAttachment()
Return the point of attachment for this subquery. |
int |
getScanIsolationLevel()
Return the isolation level of the scan in the result set. |
boolean |
isForUpdate()
Is this ResultSet or it's source result set for update |
void |
markAsTopResultSet()
Mark the ResultSet as the topmost one in the ResultSet tree. |
void |
openCore()
open a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values... |
void |
reopenCore()
reopen the scan. |
boolean |
requiresRelocking()
Do we need to relock the row when going to the heap. |
int |
resultSetNumber()
Get the number of this ResultSet, which is guaranteed to be unique within a statement. |
void |
setCurrentRow(ExecRow row)
Set the current row to the row passed in. |
void |
setNeedsRowLocation(boolean needsRowLocation)
Set whether or not the NPRS need the row location when acting as a row source. |
void |
setTargetResultSet(TargetResultSet trs)
Notify a NPRS that it is the source for the specified TargetResultSet. |
Methods inherited from interface org.apache.derby.iapi.sql.ResultSet |
checkRowPosition, cleanUp, close, finish, getAbsoluteRow, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, modifiedRowCount, open, returnsRows, setAfterLastRow, setBeforeFirstRow |
Methods inherited from interface org.apache.derby.iapi.store.access.RowLocationRetRowSource |
needsRowLocation, rowLocation |
Methods inherited from interface org.apache.derby.iapi.store.access.RowSource |
closeRowSource, getNextRowFromRowSource, getValidColumns, needsToClone |
Field Detail |
public static final java.lang.String ABSOLUTE
public static final java.lang.String RELATIVE
public static final java.lang.String FIRST
public static final java.lang.String NEXT
public static final java.lang.String LAST
public static final java.lang.String PREVIOUS
Method Detail |
public void markAsTopResultSet()
public void openCore() throws StandardException
openCore() can only be called on a closed result set. see reopenCore if you want to reuse an open result set.
StandardException
- thrown if cursor finished.public void reopenCore() throws StandardException
used by joiners
scan parameters are evaluated at each open, so there is probably some way of altering their values...
StandardException
- thrown if cursor finished.public ExecRow getNextRowCore() throws StandardException
restriction and projection parameters are evaluated for each row.
StandardException
- thrown on failure.public int getPointOfAttachment()
public int getScanIsolationLevel()
public void setTargetResultSet(TargetResultSet trs)
trs
- The TargetResultSet.
public void setNeedsRowLocation(boolean needsRowLocation)
public double getEstimatedRowCount()
public int resultSetNumber()
public void setCurrentRow(ExecRow row)
row
- the new current rowpublic void clearCurrentRow()
public boolean requiresRelocking()
public boolean isForUpdate()
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |