| java.lang.Object org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl org.apache.derby.impl.sql.execute.NoPutResultSetImpl org.apache.derby.impl.sql.execute.HashScanResultSet
All known Subclasses: org.apache.derby.impl.sql.execute.DistinctScanResultSet,
HashScanResultSet | public class HashScanResultSet extends NoPutResultSetImpl implements CursorResultSet(Code) | | Takes a conglomerate and a table filter builds a hash table on the
specified column of the conglomerate on the 1st open. Look up into the
hash table is done on the hash key column. The hash table consists of
either DataValueDescriptor[]s or Vectors of DataValueDescriptor[]. The store builds
the hash table. When a collision occurs, the store builds a Vector with
the colliding DataValueDescriptor[]s.
author: jerry |
Constructor Summary | |
| HashScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[][] scanQualifiers, Qualifier[][] nextQualifiers, int initialCapacity, float loadFactor, int maxCapacity, int hashKeyItem, String tableName, String userSuppliedOptimizerOverrides, String indexName, boolean isConstraint, boolean forUpdate, int colRefItem, int lockMode, boolean tableLocked, int isolationLevel, boolean skipNullKeyColumns, double optimizerEstimatedRowCount, double optimizerEstimatedCost) |
DEFAULT_INITIAL_CAPACITY | final public static int DEFAULT_INITIAL_CAPACITY(Code) | | |
DEFAULT_LOADFACTOR | final public static float DEFAULT_LOADFACTOR(Code) | | |
DEFAULT_MAX_CAPACITY | final public static int DEFAULT_MAX_CAPACITY(Code) | | |
eliminateDuplicates | protected boolean eliminateDuplicates(Code) | | |
firstNext | protected boolean firstNext(Code) | | |
forUpdate | public boolean forUpdate(Code) | | |
hashtableSize | public int hashtableSize(Code) | | |
isConstraint | public boolean isConstraint(Code) | | |
isolationLevel | public int isolationLevel(Code) | | |
keyColumns | public int[] keyColumns(Code) | | |
lockMode | public int lockMode(Code) | | |
userSuppliedOptimizerOverrides | public String userSuppliedOptimizerOverrides(Code) | | |
HashScanResultSet | HashScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[][] scanQualifiers, Qualifier[][] nextQualifiers, int initialCapacity, float loadFactor, int maxCapacity, int hashKeyItem, String tableName, String userSuppliedOptimizerOverrides, String indexName, boolean isConstraint, boolean forUpdate, int colRefItem, int lockMode, boolean tableLocked, int isolationLevel, boolean skipNullKeyColumns, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException(Code) | | |
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 on failure to open |
|
|