| java.lang.Object org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl org.apache.derby.impl.sql.execute.NoPutResultSetImpl org.apache.derby.impl.sql.execute.RowResultSet
RowResultSet | class RowResultSet extends NoPutResultSetImpl implements CursorResultSet(Code) | | Takes a constant row value and returns it as
a result set.
This class actually probably never underlies a select statement,
but in case it might and because it has the same behavior as the
ones that do, we have it implement CursorResultSet and give
reasonable answers.
author: ames |
Constructor Summary | |
| RowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost) | | RowResultSet(Activation activation, ExecRow constantRow, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost) |
Method Summary | |
public void | close() | public ExecRow | getCurrentRow() This is not used in positioned update and delete,
so just return a null. | public ExecRow | getNextRowCore() If open and not returned yet, returns the row
after plugging the parameters into the expressions. | public RowLocation | getRowLocation() This is not operating against a stored table,
so it has no row location to report. | public long | getTimeSpent(int type) Return the total amount of time spent in this ResultSet
Parameters: type - CURRENT_RESULTSET_ONLY - time spent only in this ResultSetENTIRE_RESULTSET_TREE - time spent in this ResultSet and below. | public void | openCore() Sets state to 'open'. |
rowsReturned | public int rowsReturned(Code) | | |
RowResultSet | RowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost)(Code) | | |
RowResultSet | RowResultSet(Activation activation, ExecRow constantRow, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost)(Code) | | |
getCurrentRow | public ExecRow getCurrentRow()(Code) | | This is not used in positioned update and delete,
so just return a null.
See Also: CursorResultSet a null. |
getRowLocation | public RowLocation getRowLocation()(Code) | | This is not operating against a stored table,
so it has no row location to report.
See Also: CursorResultSet a null. |
getTimeSpent | public long getTimeSpent(int type)(Code) | | Return the total amount of time spent in this ResultSet
Parameters: type - CURRENT_RESULTSET_ONLY - time spent only in this ResultSetENTIRE_RESULTSET_TREE - time spent in this ResultSet and below. long The total amount of time spent (in milliseconds). |
|
|