| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private int | |
| private boolean | |
| private boolean | |
| private boolean | |
| public int | |
| private BackingStoreHashtable | |
| private int | |
| public int[] | |
| private float | |
| private ExecRow | |
| private long | |
| private ExecRow | |
| public Qualifier[][] | |
| private int | |
| private GeneratedMethod | |
| public long | |
| private int[] | |
| private ExecRow | |
| private boolean | |
| public long | |
| public boolean | |
| private boolean | |
| public Properties | |
| public GeneratedMethod | |
| private boolean | |
| public NoPutResultSet |
| Access | Constructor and Description |
|---|---|
| pack-priv | 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)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. Implements org. If the result set has been opened, close the open scan. |
| private ExecRow | Returns: The result of the projectionThe source row. sourceRow)Do the projection against the source row. |
| public ExecRow | Returns: the last row returned.Implements org. Gets last row returned. |
| public ExecRow | Returns: the next row in the resultImplements abstract org. Implements org. Return the requested values computed from the next row (if any) for which the restriction evaluates to true. |
| public DataValueDescriptor[] | getNextRowFromRowSource()
Overrides org. Implements org. Get the next row as an array of column objects. |
| public RowLocation | Returns: the row location of the current cursor row.Implements org. Gets information from its source. |
| public long | Returns: long The total amount of time spent (in milliseconds).CURRENT_RESULTSET_ONLY - time spent only in this ResultSet
ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below. type)Implements org. Return the total amount of time spent in this ResultSet |
| public boolean | Returns: Whether or not the result set is for update.Overrides org. Implements org. Is this ResultSet or it's source result set for update |
| public void | openCore()
Implements org. open a scan on the table. |
| public void | reopenCore()
Overrides org. Implements org. reopen a scan on the table. |
| private void |
| entryVector | back to summary |
|---|---|
| private List<E> entryVector | |
| entryVectorSize | back to summary |
|---|---|
| private int entryVectorSize | |
| firstIntoHashtable | back to summary |
|---|---|
| private boolean firstIntoHashtable | |
| firstNext | back to summary |
|---|---|
| private boolean firstNext | |
| hashTableBuilt | back to summary |
|---|---|
| private boolean hashTableBuilt | |
| hashtableSize | back to summary |
|---|---|
| public int hashtableSize | |
| ht | back to summary |
|---|---|
| private BackingStoreHashtable ht | |
| initialCapacity | back to summary |
|---|---|
| private int initialCapacity | |
| keyColumns | back to summary |
|---|---|
| public int[] keyColumns | |
| loadFactor | back to summary |
|---|---|
| private float loadFactor | |
| mappedResultRow | back to summary |
|---|---|
| private ExecRow mappedResultRow | |
| maxInMemoryRowCount | back to summary |
|---|---|
| private long maxInMemoryRowCount | |
| nextCandidate | back to summary |
|---|---|
| private ExecRow nextCandidate | |
| nextQualifiers | back to summary |
|---|---|
| public Qualifier[][] nextQualifiers | |
| numFetchedOnNext | back to summary |
|---|---|
| private int numFetchedOnNext | |
| projection | back to summary |
|---|---|
| private GeneratedMethod projection | |
| projectionTime | back to summary |
|---|---|
| public long projectionTime | |
| projectMapping | back to summary |
|---|---|
| private int[] projectMapping | |
| projRow | back to summary |
|---|---|
| private ExecRow projRow | |
| removeDuplicates | back to summary |
|---|---|
| private boolean removeDuplicates | |
| restrictionTime | back to summary |
|---|---|
| public long restrictionTime | |
| reuseResult | back to summary |
|---|---|
| public boolean reuseResult | |
| runTimeStatsOn | back to summary |
|---|---|
| private boolean runTimeStatsOn | |
| scanProperties | back to summary |
|---|---|
| public Properties scanProperties | |
| singleTableRestriction | back to summary |
|---|---|
| public GeneratedMethod singleTableRestriction | |
| skipNullKeyColumns | back to summary |
|---|---|
| private boolean skipNullKeyColumns | |
| source | back to summary |
|---|---|
| public NoPutResultSet source | |
| HashTableResultSet | back to summary |
|---|---|
| pack-priv 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 | |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened, close the open scan.
| |
| doProjection | back to summary |
|---|---|
| private ExecRow doProjection(ExecRow sourceRow) throws StandardException Do the projection against the source row. Use reflection where necessary, otherwise get the source column into our result row.
| |
| getCurrentRow | back to summary |
|---|---|
| public ExecRow getCurrentRow() throws StandardException Implements org. Gets last row returned.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. 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.
| |
| getNextRowFromRowSource | back to summary |
|---|---|
| public DataValueDescriptor[] getNextRowFromRowSource() throws StandardException Overrides org. Implements org. Doc from org. Get the next row as an array of column objects. The column objects can
be a JBMS Storable or any
Serializable/Externalizable/Formattable/Streaming type.
A null column can be specified by leaving the object null, or indicated by returning a non-null getValidColumns. On streaming columns, it can be indicated by returning a non-null get FieldStates. If RowSource.needToClone() is true then the returned row (the DataValueDescriptor[]) is guaranteed not to be modified by drainer of the RowSource (except that the input stream will be read, of course) and drainer will keep no reference to it before making the subsequent nextRow call. So it is safe to return the same DataValueDescriptor[] in subsequent nextRow calls if that is desirable for performance reasons. If RowSource.needToClone() is false then the returned row (the DataValueDescriptor[]) may be be modified by drainer of the RowSource, and the drainer may keep a reference to it after making the subsequent nextRow call. In this case the client should severe all references to the row after returning it from getNextRowFromRowSource().
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() throws StandardException Implements org. 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?
| |
| getTimeSpent | back to summary |
|---|---|
| public long getTimeSpent(int type) Implements org. Return the total amount of time spent in this ResultSet
| |
| isForUpdate | back to summary |
|---|---|
| public boolean isForUpdate() Overrides org. Implements org. Is this ResultSet or it's source result set for update
| |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Implements org. open a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |
| reopenCore | back to summary |
|---|---|
| public void reopenCore() throws StandardException Overrides org. Implements org. reopen a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |
| resetProbeVariables | back to summary |
|---|---|
| private void resetProbeVariables() throws StandardException | |