Package org.apache.druid.guice
Class DruidProcessingModule
java.lang.Object
org.apache.druid.guice.DruidProcessingModule
- All Implemented Interfaces:
com.google.inject.Module
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) static CachePopulatorcreateCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig) static NonBlockingPool<ByteBuffer>createIntermediateResultsPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) static BlockingPool<ByteBuffer>createMergeBufferPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) static QueryProcessingPoolcreateProcessingExecutorPool(DruidProcessingConfig config, ExecutorServiceMonitor executorServiceMonitor, Lifecycle lifecycle) getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig) getGroupByResourcesReservationPool(BlockingPool<ByteBuffer> mergeBufferPool, GroupByQueryConfig groupByQueryConfig) getIntermediateResultsPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) getMergeBufferPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) getProcessingExecutorPool(DruidProcessingConfig config, ExecutorServiceMonitor executorServiceMonitor, Lifecycle lifecycle) static voidregisterConfigsAndMonitor(com.google.inject.Binder binder)
-
Field Details
-
PROCESSING_PROPERTY_PREFIX
- See Also:
-
-
Constructor Details
-
DruidProcessingModule
public DruidProcessingModule()
-
-
Method Details
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configurein interfacecom.google.inject.Module
-
getCachePopulator
@Provides public CachePopulator getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig) -
getProcessingExecutorPool
@Provides public QueryProcessingPool getProcessingExecutorPool(DruidProcessingConfig config, ExecutorServiceMonitor executorServiceMonitor, Lifecycle lifecycle) -
getIntermediateResultsPool
@Provides public NonBlockingPool<ByteBuffer> getIntermediateResultsPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) -
getMergeBufferPool
@Provides public BlockingPool<ByteBuffer> getMergeBufferPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) -
getGroupByResourcesReservationPool
@Provides public GroupByResourcesReservationPool getGroupByResourcesReservationPool(BlockingPool<ByteBuffer> mergeBufferPool, GroupByQueryConfig groupByQueryConfig) -
registerConfigsAndMonitor
public static void registerConfigsAndMonitor(com.google.inject.Binder binder) -
createCachePopulator
public static CachePopulator createCachePopulator(com.fasterxml.jackson.databind.ObjectMapper smileMapper, CachePopulatorStats cachePopulatorStats, CacheConfig cacheConfig) -
createProcessingExecutorPool
public static QueryProcessingPool createProcessingExecutorPool(DruidProcessingConfig config, ExecutorServiceMonitor executorServiceMonitor, Lifecycle lifecycle) -
createIntermediateResultsPool
public static NonBlockingPool<ByteBuffer> createIntermediateResultsPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo) -
createMergeBufferPool
public static BlockingPool<ByteBuffer> createMergeBufferPool(DruidProcessingConfig config, RuntimeInfo runtimeInfo)
-