Class: BDB::Hash

### Home Classes Methods

### In Files

- comxxx.rb

### Parent

BDB::Common

### Methods

- #stat

### Class/Module Index

Quicksearch

- BDB
- BDB::Btree
- BDB::Common
- BDB::Cursor
- BDB::Env
- BDB::Hash
- BDB::Lock
- BDB::LockDead
- BDB::LockError
- BDB::LockGranted
- BDB::LockHeld
- BDB::Lockid
- BDB::Lsn
- BDB::Queue
- BDB::Recno
- BDB::Recnum
- BDB::Sequence
- BDB::Txn

No matching classes.

# BDB::Hash

Implementation of Extended Linear Hashing

Inherit from BDB::Common

### Public Instance Methods

stat(flags = 0) click to toggle source

Return an Hash with the fields (description for 4.0.14)

- hash_magic : Magic number that identifies the file as a Hash file.

- hash_version : The version of the Hash database.

- hash_nkeys : The number of unique keys in the database.

- hash_ndata : The number of key/data pairs in the database.

- hash_pagesize : The underlying Hash database page (and bucket) size, in bytes.

- hash_nelem : The estimated size of the hash table specified at database-creation time.

- hash_ffactor : The desired fill factor (number of items per bucket) specified at database-creation time.

- hash_buckets : The number of hash buckets.

- hash_free : The number of pages on the free list.

- hash_bfree :The number of bytes free on bucket pages.

- hash_bigpages : The number of big key/data pages.

- hash_big_bfree : The number of bytes free on big item pages.

- hash_overflows : The number of overflow pages

- hash_ovfl_free : The number of bytes free on overflow pages.

- hash_dup : The number of duplicate pages.

- hash_dup_free : The number of bytes free on duplicate pages.

    # File comxxx.rb, line 51
    def stat(flags = 0)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.