libfoedus-core
FOEDUS Core Library
|
Entries we actually sort. More...
Entries we actually sort.
It's quite important to keep this 16 bytes. But, in some cases, we need more than 16 bytes to compare logs. In that case, we have to addtionally invoke batch_sort_adjust_sort().
Definition at line 116 of file merge_sort.hpp.
#include <merge_sort.hpp>
Public Member Functions | |
void | set (uint64_t key, uint16_t compressed_epoch, uint32_t in_epoch_ordinal, bool needs_additional_check, MergedPosition position) __attribute__((always_inline)) |
uint64_t | get_key () const __attribute__((always_inline)) |
bool | needs_additional_check () const __attribute__((always_inline)) |
MergedPosition | get_position () const __attribute__((always_inline)) |
Public Attributes | |
__uint128_t | data_ |
|
inline |
Definition at line 132 of file merge_sort.hpp.
References data_.
Referenced by foedus::storage::array::ArrayComposeContext::execute(), and foedus::storage::hash::HashComposeContext::execute().
|
inline |
Definition at line 138 of file merge_sort.hpp.
References data_.
Referenced by foedus::snapshot::MergeSort::assert_sorted(), foedus::snapshot::MergeSort::change_log_type_at(), foedus::snapshot::MergeSort::fetch_logs(), foedus::snapshot::MergeSort::get_log_type_from_sort_position(), foedus::snapshot::MergeSort::groupify(), and foedus::snapshot::MergeSort::resolve_sort_position().
|
inline |
Definition at line 135 of file merge_sort.hpp.
References data_.
Referenced by set().
|
inline |
Definition at line 117 of file merge_sort.hpp.
References ASSERT_ND, data_, foedus::snapshot::MergeSort::kMaxMergedPosition, and needs_additional_check().
Referenced by foedus::snapshot::MergeSort::assert_sorted().
__uint128_t foedus::snapshot::MergeSort::SortEntry::data_ |
Definition at line 142 of file merge_sort.hpp.
Referenced by foedus::snapshot::MergeSort::assert_sorted(), get_key(), get_position(), needs_additional_check(), and set().