use of org.apache.derby.iapi.store.access.BackingStoreHashtable in project derby by apache.
the class MergeResultSet method createSubjectRowIDhashtable.
/**
* <p>
* Create a BackingStoreHashtable to hold the ids of subject rows.
* </p>
*/
private void createSubjectRowIDhashtable() throws StandardException {
final int[] keyCols = new int[] { 0 };
_subjectRowIDs = new BackingStoreHashtable(getActivation().getLanguageConnectionContext().getTransactionExecute(), // no row source. we'll fill the hashtable as we go along
null, keyCols, // duplicate handling doesn't matter. we probe for duplicates and error out if we find one
false, // who knows what the row count will be
-1, HashScanResultSet.DEFAULT_MAX_CAPACITY, HashScanResultSet.DEFAULT_INITIAL_CAPACITY, HashScanResultSet.DEFAULT_MAX_CAPACITY, // null keys aren't relevant. the row id is always non-null
false, // discard after commit
false);
}
Aggregations