mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
modules/console: Improve sst info oneline for sorted runs and binary keys.
This commit is contained in:
parent
5294a8e78b
commit
03dba64f0b
1 changed files with 13 additions and 3 deletions
|
@ -4424,9 +4424,19 @@ _print_sst_info(opt &out,
|
|||
<< std::setw(1) << std::left << (f.delta_encoding? 'D' : ' ')
|
||||
<< std::setw(1) << std::left << (true? ' ' : ' ')
|
||||
<< " " << std::setw(24) << std::left << pretty(pbuf, iec(f.size))
|
||||
<< " " << std::setw(10) << std::right << f.min_seq << " : " << std::setw(10) << std::left << f.max_seq
|
||||
<< " " << std::setw(10) << std::right << min_key << " : " << std::setw(10) << std::left << max_key
|
||||
<< " " << std::setw(10) << std::right << f.num_reads
|
||||
;
|
||||
|
||||
if(f.min_seq)
|
||||
out << " " << std::setw(10) << std::right << f.min_seq << " : " << std::setw(10) << std::left << f.max_seq;
|
||||
else
|
||||
out << " " << std::setw(10) << std::right << ' ' << " " << std::setw(10) << std::left << "<sorted>";
|
||||
|
||||
if(min_key)
|
||||
out << " " << std::setw(10) << std::right << min_key << " : " << std::setw(10) << std::left << max_key;
|
||||
else
|
||||
out << " " << std::setw(10) << std::right << ' ' << " " << std::setw(10) << std::left << "<string>";
|
||||
|
||||
out << " " << std::setw(10) << std::right << f.num_reads
|
||||
<< " " << std::setw(10) << std::right << f.entries
|
||||
<< " " << std::setw(10) << std::right << f.data_blocks
|
||||
<< " " << std::setw(7) << std::right << f.index_parts
|
||||
|
|
Loading…
Reference in a new issue