Class BackingStoreHashTableFromScan
- java.lang.Object
-
- org.apache.derby.iapi.store.access.BackingStoreHashtable
-
- org.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
Fields Modifier and Type Field Description private boolean
includeRowLocations
private ScanManager
open_scan
Fields of the class
-
Constructor Summary
Constructors Constructor Description 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, boolean keepAfterCommit, boolean includeRowLocations)
Constructors for This class:
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the BackingStoreHashtable.boolean
includeRowLocations()
Public Methods of This class:-
Methods inherited from class org.apache.derby.iapi.store.access.BackingStoreHashtable
elements, get, getAllRuntimeStats, putRow, remove, setAuxillaryRuntimeStats, size
-
-
-
-
Field Detail
-
open_scan
private ScanManager open_scan
Fields of the class
-
includeRowLocations
private boolean includeRowLocations
-
-
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, boolean keepAfterCommit, boolean includeRowLocations) throws StandardException
Constructors for This class:- Throws:
StandardException
-
-
Method Detail
-
includeRowLocations
public boolean includeRowLocations()
Public Methods of This class:- Overrides:
includeRowLocations
in classBackingStoreHashtable
-
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 classBackingStoreHashtable
- Throws:
StandardException
- Standard exception policy.
-
-