Class SimpleScanDispatcher
java.lang.Object
org.apache.accumulo.core.spi.scan.SimpleScanDispatcher
- All Implemented Interfaces:
- ScanDispatcher
If no options are given, then this will default to an executor named 
default and
 ScanDispatch.CacheUsage.TABLE for index and data cache. This dispatcher supports the following
 options.
 - table.scan.dispatcher.opts.executor=<scan executor name>: dispatches all scans to the named executor.
- table.scan.dispatcher.opts.multi_executor=<scan executor name>: dispatches batch scans to the named executor.
- table.scan.dispatcher.opts.single_executor=<scan executor name>: dispatches regular scans to the named executor.
- table.scan.dispatcher.opts.executor.<type>=<scan executor name>: dispatches scans that set the hint- scan_type=<type>to the named executor. If this setting matches then it takes precedence over all other settings. See- ScannerBase.setExecutionHints(Map)
- table.scan.dispatcher.opts.cacheUsage.<type>[.index|.data]=enabled|disabled|opportunistic|table: for scans that set the hint- scan_type=<type>determines how the scan will use cache.
multi_executor and single_executor options override the executor
 option.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.accumulo.core.spi.scan.ScanDispatcherScanDispatcher.DispatchParameters, ScanDispatcher.InitParameters
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAccumulo calls this method for each scan batch to determine what executor to use and how to utilize cache for the scan.voidinit(ScanDispatcher.InitParameters params) This method is called once after a ScanDispatcher is instantiated.
- 
Field Details- 
DEFAULT_SCAN_EXECUTOR_NAME- See Also:
 
 
- 
- 
Constructor Details- 
SimpleScanDispatcherpublic SimpleScanDispatcher()
 
- 
- 
Method Details- 
initDescription copied from interface:ScanDispatcherThis method is called once after a ScanDispatcher is instantiated.- Specified by:
- initin interface- ScanDispatcher
 
- 
dispatchDescription copied from interface:ScanDispatcherAccumulo calls this method for each scan batch to determine what executor to use and how to utilize cache for the scan.- Specified by:
- dispatchin interface- ScanDispatcher
 
 
-