org.apache.derby.impl.store.access
Class BackingStoreHashTableFromScan

java.lang.Object
  extended byorg.apache.derby.iapi.store.access.BackingStoreHashtable
      extended byorg.apache.derby.impl.store.access.BackingStoreHashTableFromScan

class BackingStoreHashTableFromScan
extends BackingStoreHashtable

Extend BackingStoreHashtable with the ability to maintain the underlying openScan() until the hashtable has been closed. This is necessary for long row access. Access to long row delays actual objectification until the columns are accessed, but depends on the underlying table to be still open when the column is accessed.

Transactions are obtained from an AccessFactory.

See Also:
BackingStoreHashtable

Field Summary
private  ScanManager open_scan
          Fields of the class
 
Fields inherited from class org.apache.derby.iapi.store.access.BackingStoreHashtable
 
Constructor Summary
BackingStoreHashTableFromScan(TransactionController tc, long conglomId, int open_mode, int lock_level, int isolation_level, FormatableBitSet scanColumnList, DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier[][] qualifier, DataValueDescriptor[] stopKeyValue, int stopSearchOperator, long max_rowcnt, int[] key_column_numbers, boolean remove_duplicates, long estimated_rowcnt, long max_inmemory_rowcnt, int initialCapacity, float loadFactor, boolean collect_runtimestats, boolean skipNullKeyColumns)
          Constructors for This class:
 
Method Summary
 void close()
          Close the BackingStoreHashtable.
 
Methods inherited from class org.apache.derby.iapi.store.access.BackingStoreHashtable
elements, get, getAllRuntimeStats, put, remove, setAuxillaryRuntimeStats, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

open_scan

private ScanManager open_scan
Fields of the class

Constructor Detail

BackingStoreHashTableFromScan

public BackingStoreHashTableFromScan(TransactionController tc,
                                     long conglomId,
                                     int open_mode,
                                     int lock_level,
                                     int isolation_level,
                                     FormatableBitSet scanColumnList,
                                     DataValueDescriptor[] startKeyValue,
                                     int startSearchOperator,
                                     Qualifier[][] qualifier,
                                     DataValueDescriptor[] stopKeyValue,
                                     int stopSearchOperator,
                                     long max_rowcnt,
                                     int[] key_column_numbers,
                                     boolean remove_duplicates,
                                     long estimated_rowcnt,
                                     long max_inmemory_rowcnt,
                                     int initialCapacity,
                                     float loadFactor,
                                     boolean collect_runtimestats,
                                     boolean skipNullKeyColumns)
                              throws StandardException
Constructors for This class:

Method Detail

close

public void close()
           throws StandardException
Close the BackingStoreHashtable.

Perform any necessary cleanup after finishing with the hashtable. Will deallocate/dereference objects as necessary. If the table has gone to disk this will drop any on disk files used to support the hash table.

Overrides:
close in class BackingStoreHashtable
Throws:
StandardException - Standard exception policy.


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.