chaoyli commented on a change in pull request #510: Be refactor optimize rowset URL: https://github.com/apache/incubator-doris/pull/510#discussion_r245956996
########## File path: be/src/olap/rowset/alpha_rowset.cpp ########## @@ -105,14 +101,34 @@ bool AlphaRowset::remove_old_files(std::vector<std::string>* removed_links) { return true; } +int AlphaRowset::get_data_disk_size() const { + return _rowset_meta->total_disk_size(); +} + +int AlphaRowset::get_index_disk_size() const { + return _rowset_meta->index_disk_size(); +} + +bool AlphaRowset::empty() const { + return _rowset_meta->empty(); +} + +bool AlphaRowset::zero_num_rows() const { + return _rowset_meta->row_number() == 0; +} + +size_t AlphaRowset::get_num_rows() const { + return _rowset_meta->row_number(); Review comment: The same question like above. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org