| 1586 | const ByteArray* src; |
| 1587 | |
| 1588 | std::string_view operator[](int i) const { |
| 1589 | if (ARROW_PREDICT_FALSE(src[i].len >= kMaxByteArraySize)) { |
| 1590 | throw ParquetException("Parquet cannot store strings with size 2GB or more, got: ", |
| 1591 | src[i].len); |
| 1592 | } |
| 1593 | return std::string_view{src[i]}; |
| 1594 | } |
| 1595 | |
| 1596 | uint32_t len(int i) const { return src[i].len; } |
| 1597 | }; |
nothing calls this directly
no test coverage detected