| java.lang.Object org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl org.apache.derby.impl.sql.execute.NoPutResultSetImpl org.apache.derby.impl.sql.execute.HashTableResultSet
Constructor Summary | |
| HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacity, float loadFactor, boolean skipNullKeyColumns, double optimizerEstimatedRowCount, double optimizerEstimatedCost) |
Method Summary | |
public void | close() If the result set has been opened,
close the open scan. | public ExecRow | getCurrentRow() Gets last row returned. | public ExecRow | getNextRowCore() Return the requested values computed
from the next row (if any) for which
the restriction evaluates to true.
restriction and projection parameters
are evaluated for each row.
exception: StandardException - thrown on failure. exception: StandardException - ResultSetNotOpen thrown if not yet open. | public DataValueDescriptor[] | getNextRowFromRowSource() | public RowLocation | getRowLocation() Gets information from its source. | 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 boolean | isForUpdate() | public void | openCore() open a scan on the table. | public void | reopenCore() reopen a scan on the table. |
hashtableSize | public int hashtableSize(Code) | | |
keyColumns | public int[] keyColumns(Code) | | |
projectionTime | public long projectionTime(Code) | | |
restrictionTime | public long restrictionTime(Code) | | |
reuseResult | public boolean reuseResult(Code) | | |
HashTableResultSet | HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacity, float loadFactor, boolean skipNullKeyColumns, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException(Code) | | |
getNextRowCore | public ExecRow getNextRowCore() throws StandardException(Code) | | Return the requested values computed
from the next row (if any) for which
the restriction evaluates to true.
restriction and projection parameters
are evaluated for each row.
exception: StandardException - thrown on failure. exception: StandardException - ResultSetNotOpen thrown if not yet open. the next row in the result |
getRowLocation | public RowLocation getRowLocation() throws StandardException(Code) | | 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. |
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). |
isForUpdate | public boolean isForUpdate()(Code) | | Is this ResultSet or it's source result set for update
Whether or not the result set is for update. |
openCore | public void openCore() throws StandardException(Code) | | open 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. |
reopenCore | public void reopenCore() throws StandardException(Code) | | 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. |
|
|