Interface ScanDispatcher
-
- All Known Implementing Classes:
SimpleScanDispatcher
public interface ScanDispatcherA per table scan dispatcher that decides which executor should be used to processes a scan. For information about configuring, find the documentation for thetable.scan.dispatcherandtable.scan.dispatcher.opts.properties.- Since:
- 2.0.0
- See Also:
org.apache.accumulo.core.spi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceScanDispatcher.DispatchParametersThe method parameters fordispatch(DispatchParameters).static interfaceScanDispatcher.DispatchParmatersDeprecated.since 2.1.0 replaced byScanDispatcher.DispatchParametersanddispatch(DispatchParameters)static interfaceScanDispatcher.InitParametersThe method parameters forinit(InitParameters).
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default ScanDirectivesdispatch(ScanDispatcher.DispatchParameters params)Accumulo calls this method for each scan batch to determine what executor to use and how to utilize cache for the scan.default Stringdispatch(ScanDispatcher.DispatchParmaters params)Deprecated.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 Detail
-
init
default void init(ScanDispatcher.InitParameters params)
This method is called once after a ScanDispatcher is instantiated.
-
dispatch
@Deprecated default String dispatch(ScanDispatcher.DispatchParmaters params)
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
default ScanDirectives dispatch(ScanDispatcher.DispatchParameters params)
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
-
-