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 MaterializedResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException(Code)
Constructor for a MaterializedResultSet
Parameters: source - The NoPutResultSet from which to get rowsto be materialized Parameters: activation - The activation for this execution Parameters: resultSetNumber - The resultSetNumber exception: StandardException - on error
Gets information from its source. We might want
to have this take a CursorResultSet in its constructor some day,
instead of doing a cast here?
See Also:CursorResultSet the row location of the current cursor row. exception: StandardException - thrown on failure
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).
open a scan on the source. scan parameters are evaluated
at each open, so there is probably some way of altering
their values...
exception: StandardException - thrown on failure
reopen a scan on the table. scan parameters are evaluated
at each open, so there is probably some way of altering
their values...
exception: StandardException - thrown if cursor finished.
Fields inherited from org.apache.derby.impl.sql.execute.NoPutResultSetImpl