Top Description Fields Constructors Methods
org.apache.derby.impl.store.access

pack-priv Class BackingStoreHashTableFromScan

extends BackingStoreHashtable
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.store.access.conglomerate.ScanManager, org.apache.derby.iapi.store.access.Qualifier, .RowSource, .TransactionController, .BackingStoreHashtable, org.apache.derby.iapi.types.DataValueDescriptor, org.apache.derby.iapi.services.io.FormatableBitSet, java.util.Properties

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

Modifier and TypeField and Description
private boolean
private ScanManager
open_scan

Fields of the class

Constructor Summary

AccessConstructor and Description
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)

Constructors for This class:

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides org.apache.derby.iapi.store.access.BackingStoreHashtable.close.

Close the BackingStoreHashtable.

public boolean
Inherited from org.apache.derby.iapi.store.access.BackingStoreHashtable:
elementsgetgetAllRuntimeStatsputRowremovesetAuxillaryRuntimeStatssize

Field Detail

includeRowLocationsback to summary
private boolean includeRowLocations
open_scanback to summary
private ScanManager open_scan

Fields of the class

Constructor Detail

BackingStoreHashTableFromScanback to summary
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:

Method Detail

closeback to summary
public void close() throws StandardException

Overrides org.apache.derby.iapi.store.access.BackingStoreHashtable.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.

Exceptions
StandardException:
Standard exception policy.
includeRowLocationsback to summary
public boolean includeRowLocations()

Overrides org.apache.derby.iapi.store.access.BackingStoreHashtable.includeRowLocations.

Public Methods of This class:

Annotations
@Override