Zero  0.1.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
zero::buffer_pool::Hashtable::HashtableKeyTraits Struct Reference

Public Types

typedef PageID Key
 
typedef turf::util::BestFit< PageID >::Unsigned Hash
 

Static Public Member Functions

static Hash hash (PageID key)
 
static Key dehash (Hash hash)
 

Static Public Attributes

static const Key NullKey = Key(4294967295)
 
static const Hash NullHash = Hash(2180083513)
 

Member Typedef Documentation

§ Hash

typedef turf::util::BestFit<PageID>::Unsigned zero::buffer_pool::Hashtable::HashtableKeyTraits::Hash

§ Key

Member Function Documentation

§ dehash()

static Key zero::buffer_pool::Hashtable::HashtableKeyTraits::dehash ( Hash  hash)
inlinestatic

§ hash()

static Hash zero::buffer_pool::Hashtable::HashtableKeyTraits::hash ( PageID  key)
inlinestatic

Member Data Documentation

§ NullHash

const Hash zero::buffer_pool::Hashtable::HashtableKeyTraits::NullHash = Hash(2180083513)
static

§ NullKey

const Key zero::buffer_pool::Hashtable::HashtableKeyTraits::NullKey = Key(4294967295)
static

The documentation for this struct was generated from the following file: