Commit 40180ad
refactor: Remove NimbleRowReaderOptions, use RowReaderOptions::setIndexEnabled() (facebookincubator#443)
Summary:
Pull Request resolved: facebookincubator#443
The `NimbleRowReaderOptions` class was only used to control the `indexEnabled` flag for Nimble row readers. Since `RowReaderOptions` already has `setIndexEnabled()` and `indexEnabled()` methods, we can simplify the code by removing the Nimble-specific options class and using the common `RowReaderOptions` API directly.
This change:
- Removes the `NimbleRowReaderOptions` class and its header file
- Updates `SelectiveNimbleReader` to read `indexEnabled` directly from `RowReaderOptions`
- Updates all call sites to use `rowReaderOptions.setIndexEnabled()` instead of creating `NimbleRowReaderOptions`
Reviewed By: zzhao0
Differential Revision: D91557015
fbshipit-source-id: c574651eb5e840bacf1bb86b7a081cdb8d845a8e1 parent 14252ab commit 40180ad
File tree
3 files changed
+6
-61
lines changed- dwio/nimble/velox/selective
- tests
3 files changed
+6
-61
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
384 | 383 | | |
385 | 384 | | |
386 | 385 | | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
393 | 389 | | |
394 | 390 | | |
395 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
298 | 297 | | |
299 | 298 | | |
300 | 299 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
| 300 | + | |
| 301 | + | |
305 | 302 | | |
306 | 303 | | |
307 | 304 | | |
| |||
3268 | 3265 | | |
3269 | 3266 | | |
3270 | 3267 | | |
3271 | | - | |
3272 | | - | |
3273 | | - | |
| 3268 | + | |
3274 | 3269 | | |
3275 | 3270 | | |
3276 | 3271 | | |
| |||
0 commit comments