Class 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 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

      • 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.