Package org.apache.druid.query
Class MapQueryToolChestWarehouse
- java.lang.Object
-
- org.apache.druid.query.MapQueryToolChestWarehouse
-
- All Implemented Interfaces:
QueryToolChestWarehouse
public class MapQueryToolChestWarehouse extends Object implements QueryToolChestWarehouse
-
-
Constructor Summary
Constructors Constructor Description MapQueryToolChestWarehouse(Map<Class<? extends Query>,QueryToolChest> toolchests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,QueryType extends Query<T>>
QueryToolChest<T,QueryType>getToolChest(QueryType query)
-
-
-
Constructor Detail
-
MapQueryToolChestWarehouse
@Inject public MapQueryToolChestWarehouse(Map<Class<? extends Query>,QueryToolChest> toolchests)
-
-
Method Detail
-
getToolChest
public <T,QueryType extends Query<T>> QueryToolChest<T,QueryType> getToolChest(QueryType query)
- Specified by:
getToolChest
in interfaceQueryToolChestWarehouse
-
-