libfoedus-core
FOEDUS Core Library
|
Handy iterator for MasstreeIntermediate. More...
Handy iterator for MasstreeIntermediate.
Note that this object is not thread safe. Use it only where it's safe (eg snapshot page).
Definition at line 1047 of file masstree_page_impl.hpp.
#include <masstree_page_impl.hpp>
Public Member Functions | |
MasstreeIntermediatePointerIterator (const MasstreeIntermediatePage *page) | |
void | next () |
bool | is_valid () const |
KeySlice | get_low_key () const |
KeySlice | get_high_key () const |
const DualPagePointer & | get_pointer () const |
Public Attributes | |
const MasstreeIntermediatePage *const | page_ |
uint16_t | index_ |
uint16_t | index_mini_ |
|
inlineexplicit |
Definition at line 1048 of file masstree_page_impl.hpp.
References ASSERT_ND, foedus::storage::masstree::MasstreePage::header(), index_, foedus::storage::masstree::MasstreePage::is_empty_range(), and foedus::storage::PageHeader::snapshot_.
|
inline |
Definition at line 1082 of file masstree_page_impl.hpp.
References ASSERT_ND, foedus::storage::masstree::MasstreePage::get_high_fence(), foedus::storage::masstree::MasstreeIntermediatePage::get_minipage(), foedus::storage::masstree::MasstreeIntermediatePage::get_separator(), index_, index_mini_, is_valid(), foedus::storage::masstree::MasstreeIntermediatePage::MiniPage::key_count_, page_, and foedus::storage::masstree::MasstreeIntermediatePage::MiniPage::separators_.
|
inline |
Definition at line 1071 of file masstree_page_impl.hpp.
References ASSERT_ND, foedus::storage::masstree::MasstreePage::get_low_fence(), foedus::storage::masstree::MasstreeIntermediatePage::get_minipage(), foedus::storage::masstree::MasstreeIntermediatePage::get_separator(), index_, index_mini_, is_valid(), page_, and foedus::storage::masstree::MasstreeIntermediatePage::MiniPage::separators_.
Referenced by foedus::storage::masstree::MasstreeStoragePimpl::peek_volatile_page_boundaries_this_layer_recurse().
|
inline |
Definition at line 1093 of file masstree_page_impl.hpp.
References ASSERT_ND, foedus::storage::masstree::MasstreeIntermediatePage::get_minipage(), index_, index_mini_, is_valid(), page_, and foedus::storage::masstree::MasstreeIntermediatePage::MiniPage::pointers_.
Referenced by foedus::storage::masstree::MasstreeStoragePimpl::peek_volatile_page_boundaries_this_layer_recurse().
|
inline |
Definition at line 1067 of file masstree_page_impl.hpp.
References foedus::storage::masstree::MasstreePage::get_key_count(), foedus::storage::masstree::MasstreeIntermediatePage::get_minipage(), index_, index_mini_, foedus::storage::masstree::MasstreeIntermediatePage::MiniPage::key_count_, and page_.
Referenced by foedus::storage::masstree::MasstreeComposer::construct_root(), foedus::storage::masstree::MasstreeStoragePimpl::debugout_single_thread_recurse(), foedus::storage::masstree::SplitIntermediate::decide_strategy(), foedus::storage::masstree::MasstreePartitioner::design_partition(), foedus::storage::masstree::MasstreeComposer::drop_volatiles(), get_high_key(), get_low_key(), get_pointer(), foedus::storage::masstree::MasstreeStoragePimpl::hcc_reset_all_temperature_stat_recurse(), next(), and foedus::storage::masstree::MasstreeStoragePimpl::peek_volatile_page_boundaries_this_layer_recurse().
|
inline |
Definition at line 1057 of file masstree_page_impl.hpp.
References foedus::storage::masstree::MasstreeIntermediatePage::get_minipage(), index_, index_mini_, is_valid(), foedus::storage::masstree::MasstreeIntermediatePage::MiniPage::key_count_, and page_.
Referenced by foedus::storage::masstree::MasstreeStoragePimpl::peek_volatile_page_boundaries_this_layer_recurse().
uint16_t foedus::storage::masstree::MasstreeIntermediatePointerIterator::index_ |
Definition at line 1100 of file masstree_page_impl.hpp.
Referenced by get_high_key(), get_low_key(), get_pointer(), is_valid(), MasstreeIntermediatePointerIterator(), next(), and foedus::storage::masstree::MasstreeStoragePimpl::peek_volatile_page_boundaries_this_layer_recurse().
uint16_t foedus::storage::masstree::MasstreeIntermediatePointerIterator::index_mini_ |
Definition at line 1101 of file masstree_page_impl.hpp.
Referenced by get_high_key(), get_low_key(), get_pointer(), is_valid(), next(), and foedus::storage::masstree::MasstreeStoragePimpl::peek_volatile_page_boundaries_this_layer_recurse().
const MasstreeIntermediatePage* const foedus::storage::masstree::MasstreeIntermediatePointerIterator::page_ |
Definition at line 1099 of file masstree_page_impl.hpp.
Referenced by get_high_key(), get_low_key(), get_pointer(), is_valid(), and next().