| 1711 | } |
| 1712 | |
| 1713 | proto::StripeFooter ReaderImpl::loadCurrentStripeFooter(uint32_t stripeIndex, |
| 1714 | uint64_t& offset) const { |
| 1715 | // find stripe info |
| 1716 | if (stripeIndex >= static_cast<uint32_t>(footer_->stripes_size())) { |
| 1717 | throw std::logic_error("Illegal stripe index: " + |
| 1718 | to_string(static_cast<int64_t>(stripeIndex))); |
| 1719 | } |
| 1720 | const proto::StripeInformation currentStripeInfo = |
| 1721 | footer_->stripes(static_cast<int>(stripeIndex)); |
| 1722 | offset = static_cast<uint64_t>(currentStripeInfo.offset()); |
| 1723 | return getStripeFooter(currentStripeInfo, *contents_); |
| 1724 | } |
| 1725 | |
| 1726 | std::map<uint32_t, RowGroupIndex> ReaderImpl::getRowGroupIndex( |
| 1727 | uint32_t stripeIndex, const std::set<uint32_t>& included) const { |
nothing calls this directly
no test coverage detected