Class BackingStoreHashTableFromScan
java.lang.Object
org.apache.derby.iapi.store.access.BackingStoreHashtable
org.apache.derby.impl.store.access.BackingStoreHashTableFromScan
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBackingStoreHashTableFromScan
(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
Modifier and TypeMethodDescriptionvoid
close()
Close the BackingStoreHashtable.boolean
Public Methods of This class:Methods inherited from class org.apache.derby.iapi.store.access.BackingStoreHashtable
elements, get, getAllRuntimeStats, putRow, remove, setAuxillaryRuntimeStats, size
-
Field Details
-
open_scan
Fields of the class -
includeRowLocations
private boolean includeRowLocations
-
-
Constructor Details
-
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 Details
-
includeRowLocations
public boolean includeRowLocations()Public Methods of This class:- Overrides:
includeRowLocations
in classBackingStoreHashtable
-
close
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.
-