Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.0.0
-
None
-
None
-
None
Description
There are several falvors of calls that creates a list of StoreFileScanners, and new feature have been added to this recently. This patch converts the somewhat difficult to read (need to go to javadoc) call:
// which args are the most relevant to this? - List<StoreFileScanner> sfScanners = StoreFileScanner.getScannersForStoreFiles(sfs, - cacheMobBlocks, true, false, false, readPt);
into one that is more literate:
// ah, very clearly we are using defaults except for the caching settings + List<StoreFileScanner> sfScanners = new StoreFileScanner.ListBuilder(sfs, readPt) + .withCacheBlocks(cacheMobBlocks).build();
Attachments
Attachments
Issue Links
- is related to
-
HBASE-15051 Refactor HFileReaderImpl HFIleContext usage
- Open