libfoedus-core
FOEDUS Core Library
|
Used in batch_sort_adjust_sort if the storage is a masstree storage. More...
Used in batch_sort_adjust_sort if the storage is a masstree storage.
This comparator is actually a valid comparator for any case. But, it's slower, so used only where we need to.
Definition at line 258 of file merge_sort.hpp.
#include <merge_sort.hpp>
Public Member Functions | |
AdjustComparatorMasstree (PositionEntry *position_entries, InputStatus *inputs_status) | |
bool | operator() (const SortEntry &left, const SortEntry &right) const __attribute__((always_inline)) |
Public Attributes | |
PositionEntry * | position_entries_ |
InputStatus * | inputs_status_ |
|
inline |
Definition at line 259 of file merge_sort.hpp.
|
inline |
Definition at line 261 of file merge_sort.hpp.
References ASSERT_ND, foedus::storage::masstree::MasstreeCommonLogType::compare_logs(), foedus::snapshot::MergeSort::InputStatus::from_compact_pos(), foedus::snapshot::MergeSort::PositionEntry::input_index_, foedus::snapshot::MergeSort::PositionEntry::input_position_, inputs_status_, and position_entries_.
InputStatus* foedus::snapshot::MergeSort::AdjustComparatorMasstree::inputs_status_ |
Definition at line 280 of file merge_sort.hpp.
Referenced by operator()().
PositionEntry* foedus::snapshot::MergeSort::AdjustComparatorMasstree::position_entries_ |
Definition at line 279 of file merge_sort.hpp.
Referenced by operator()().