Effective range of the file to be scanned.
(&self)
| 247 | |
| 248 | /// Effective range of the file to be scanned. |
| 249 | pub fn range(&self) -> (u64, u64) { |
| 250 | if let Some(range) = &self.range { |
| 251 | (range.start as u64, range.end as u64) |
| 252 | } else { |
| 253 | (0, self.object_meta.size) |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | /// Provide a hint to the size of the file metadata. If a hint is provided |
| 258 | /// the reader will try and fetch the last `size_hint` bytes of the parquet file optimistically. |
no outgoing calls