| 893 | } |
| 894 | |
| 895 | std::unique_ptr<RowGroupMetaData> RowGroup(int i) { |
| 896 | if (!(i >= 0 && i < num_row_groups())) { |
| 897 | std::stringstream ss; |
| 898 | ss << "The file only has " << num_row_groups() |
| 899 | << " row groups, requested metadata for row group: " << i; |
| 900 | throw ParquetException(ss.str()); |
| 901 | } |
| 902 | return RowGroupMetaData::Make(&metadata_->row_groups[i], &schema_, properties_, |
| 903 | &writer_version_, file_decryptor_); |
| 904 | } |
| 905 | |
| 906 | bool Equals(const FileMetaDataImpl& other) const { |
| 907 | return *metadata_ == *other.metadata_; |
nothing calls this directly
no test coverage detected