libfoedus-core
FOEDUS Core Library
|
Represents a range of hash bins in a hash storage, such as what an intermediate page is responsible for. More...
Represents a range of hash bins in a hash storage, such as what an intermediate page is responsible for.
Begin is inclusive, end is exclusive. This is a range of hash bins, not full hash values.
Definition at line 172 of file hash_id.hpp.
#include <hash_id.hpp>
Public Member Functions | |
HashBinRange () | |
HashBinRange (HashBin begin, HashBin end) | |
bool | contains (HashBin hash) const |
bool | contains (const HashBinRange &other) const |
bool | operator== (const HashBinRange &other) const |
bool | operator!= (const HashBinRange &other) const |
uint64_t | length () const |
Public Attributes | |
HashBin | begin_ |
Inclusive beginning of the range. More... | |
HashBin | end_ |
Exclusive end of the range. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const HashBinRange &v) |
this one is NOT header-only. More... | |
|
inline |
Definition at line 173 of file hash_id.hpp.
Definition at line 174 of file hash_id.hpp.
|
inline |
Definition at line 176 of file hash_id.hpp.
Referenced by foedus::storage::hash::HashIntermediatePage::assert_bin(), foedus::storage::hash::HashIntermediatePage::initialize_volatile_page(), foedus::storage::hash::HashDataPage::initialize_volatile_page(), and foedus::storage::hash::ComposedBinsMergedStream::open_path().
|
inline |
Definition at line 177 of file hash_id.hpp.
|
inline |
Definition at line 185 of file hash_id.hpp.
Referenced by foedus::storage::hash::HashIntermediatePage::assert_range(), foedus::storage::hash::hash_data_volatile_page_init(), and foedus::storage::hash::ComposedBinsMergedStream::open_path().
|
inline |
Definition at line 183 of file hash_id.hpp.
References operator==().
|
inline |
Definition at line 180 of file hash_id.hpp.
Referenced by operator!=().
|
friend |
HashBin foedus::storage::hash::HashBinRange::begin_ |
Inclusive beginning of the range.
Definition at line 191 of file hash_id.hpp.
Referenced by contains(), foedus::storage::hash::HashStoragePimpl::follow_page(), foedus::storage::hash::hash_data_volatile_page_init(), foedus::storage::hash::HashIntermediatePage::initialize_snapshot_page(), foedus::storage::hash::HashIntermediatePage::initialize_volatile_page(), length(), foedus::storage::hash::ComposedBinsMergedStream::open_path(), foedus::storage::hash::operator<<(), operator==(), foedus::storage::hash::ComposedBinsMergedStream::process_a_bin(), and foedus::storage::hash::HashStoragePimpl::verify_single_thread_intermediate().
HashBin foedus::storage::hash::HashBinRange::end_ |
Exclusive end of the range.
Definition at line 193 of file hash_id.hpp.
Referenced by contains(), foedus::storage::hash::HashIntermediatePage::initialize_snapshot_page(), foedus::storage::hash::HashIntermediatePage::initialize_volatile_page(), length(), foedus::storage::hash::operator<<(), operator==(), foedus::storage::hash::ComposedBinsMergedStream::process_a_bin(), and foedus::storage::hash::HashStoragePimpl::verify_single_thread_intermediate().