Interface ScanDispatcher
- All Known Implementing Classes:
SimpleScanDispatcher
public interface ScanDispatcher
A per table scan dispatcher that decides which executor should be used to process a scan. For
information about configuring, find the documentation for the
table.scan.dispatcher and
table.scan.dispatcher.opts. properties.- Since:
- 2.0.0
- See Also:
-
org.apache.accumulo.core.spi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe method parameters fordispatch(DispatchParameters).static interfaceDeprecated.static interfaceThe method parameters forinit(InitParameters). -
Method Summary
Modifier and TypeMethodDescriptiondefault ScanDispatchAccumulo calls this method for each scan batch to determine what executor to use and how to utilize cache for the scan.default StringDeprecated.since 2.1.0 please implementdispatch(DispatchParameters)instead of this.default voidinit(ScanDispatcher.InitParameters params) This method is called once after a ScanDispatcher is instantiated.
-
Method Details
-
init
This method is called once after a ScanDispatcher is instantiated. -
dispatch
Deprecated.since 2.1.0 please implementdispatch(DispatchParameters)instead of this. Accumulo will only calldispatch(DispatchParameters)directly, it will never call this. However the default implementation ofdispatch(DispatchParameters)calls this method.- Returns:
- Should return one of the executors named params.getScanExecutors().keySet()
-
dispatch
Accumulo calls this method for each scan batch to determine what executor to use and how to utilize cache for the scan.- Since:
- 2.1.0
-
ScanDispatcher.DispatchParametersanddispatch(DispatchParameters)