| 190 | } |
| 191 | |
| 192 | Status BoundsCheck(const std::vector<int>& row_groups, |
| 193 | const std::vector<int>& column_indices) { |
| 194 | for (int i : row_groups) { |
| 195 | RETURN_NOT_OK(BoundsCheckRowGroup(i)); |
| 196 | } |
| 197 | for (int i : column_indices) { |
| 198 | RETURN_NOT_OK(BoundsCheckColumn(i)); |
| 199 | } |
| 200 | return Status::OK(); |
| 201 | } |
| 202 | |
| 203 | std::shared_ptr<RowGroupReader> RowGroup(int row_group_index) override; |
| 204 |