30 : m_rows (keys + nulls)
159 m_stats_map[
index] += us;
172 m_stats_map.clear ();
184 return m_stats_map.empty ();
191 return m_stats_map[
index];
198 for (container_type::const_iterator it = m_stats_map.cbegin (); it != m_stats_map.cend (); ++it)
200 if (it != m_stats_map.cbegin ())
204 strbuf (
"{btid=%d|%d|%d, ", it->first.root_pageid, it->first.vfid.volid, it->first.vfid.fileid);
205 it->second.to_string (strbuf);
214 m_stats_map = std::move (other.m_stats_map);
224 m_stats_map[it.first] += it.second;
void add_empty(const BTID &index)
void add_index_stats(const BTID &index, const btree_unique_stats &us)
void to_string(string_buffer &strbuf) const
stat_type get_key_count() const
void insert_null_and_row()
void operator-=(const btree_unique_stats &us)
void insert_key_and_row()
stat_type get_null_count() const
std::map< BTID, btree_unique_stats, btid_comparator > container_type
btree_unique_stats & operator=(const btree_unique_stats &us)
btree_unique_stats & get_stats_of(const BTID &index)
void operator+=(const btree_unique_stats &us)
stat_type get_row_count() const
multi_index_unique_stats & operator=(multi_index_unique_stats &&other)
container_type m_stats_map
void delete_null_and_row()
const container_type & get_map() const
void to_string(string_buffer &strbuf) const
void delete_key_and_row()
#define BTID_IS_NULL(btid)
void operator+=(const multi_index_unique_stats &other)