| 692 | } |
| 693 | |
| 694 | FileVersion ReaderImpl::getFormatVersion() const { |
| 695 | if (contents_->postscript->version_size() != 2) { |
| 696 | return FileVersion::v_0_11(); |
| 697 | } |
| 698 | return {contents_->postscript->version(0), contents_->postscript->version(1)}; |
| 699 | } |
| 700 | |
| 701 | uint64_t ReaderImpl::getNumberOfRows() const { |
| 702 | return footer_->number_of_rows(); |