libfoedus-core
FOEDUS Core Library
foedus::snapshot::MergeSort::GroupifyResult Struct Reference

Represents a group of consecutive logs in the current batch. More...

Detailed Description

Represents a group of consecutive logs in the current batch.

Priority is 1) common-key (at least 2 logs), 2) common log code.

Definition at line 287 of file merge_sort.hpp.

#include <merge_sort.hpp>

Public Member Functions

log::LogCode get_log_type () const __attribute__((always_inline))
 

Public Attributes

uint32_t count_
 
bool has_common_key_
 
bool has_common_log_code_
 
uint16_t log_code_
 

Member Function Documentation

log::LogCode foedus::snapshot::MergeSort::GroupifyResult::get_log_type ( ) const
inline

Definition at line 292 of file merge_sort.hpp.

References log_code_.

Referenced by foedus::storage::masstree::MasstreeComposeContext::execute().

292  {
293  return static_cast<log::LogCode>(log_code_);
294  }
LogCode
A unique identifier of all log types.
Definition: log_type.hpp:87

Here is the caller graph for this function:

Member Data Documentation

uint32_t foedus::snapshot::MergeSort::GroupifyResult::count_
bool foedus::snapshot::MergeSort::GroupifyResult::has_common_key_
bool foedus::snapshot::MergeSort::GroupifyResult::has_common_log_code_
uint16_t foedus::snapshot::MergeSort::GroupifyResult::log_code_

Definition at line 291 of file merge_sort.hpp.

Referenced by get_log_type(), and foedus::snapshot::MergeSort::groupify().


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