Interface ScanDispatch.Builder
- Enclosing interface:
- ScanDispatch
public static interface ScanDispatch.Builder
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()If this is not called, thenScanDispatch.CacheUsage.TABLEshould be used.setExecutorName(String name) If this is not called, then "default" should be used.If this is not called, thenScanDispatch.CacheUsage.TABLEshould be used.
-
Method Details
-
setExecutorName
If this is not called, then "default" should be used.- Parameters:
name- a non null name of an existing scan executor to use for this scan from the key set ofScanDispatcher.DispatchParameters.getScanExecutors()- Returns:
- may return self or a new object
-
setIndexCacheUsage
If this is not called, thenScanDispatch.CacheUsage.TABLEshould be used.- Parameters:
usage- a non null usage indicating how the scan should use cache for file metadata (like the index tree within a file)- Returns:
- may return self or a new object
-
setDataCacheUsage
If this is not called, thenScanDispatch.CacheUsage.TABLEshould be used.- Parameters:
usage- a non null usage indicating how the scan should use cache for file data- Returns:
- may return self or a new object
-
build
ScanDispatch build()- Returns:
- an immutable
ScanDispatchobject.
-