mirror of https://github.com/apache/druid.git
1) Rename QueryToolChestModule back
This commit is contained in:
parent
69f7831d82
commit
51f648ec11
|
@ -23,7 +23,7 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
public class QueryToolChestModuleStupidCase implements Module
|
public class QueryToolChestModule implements Module
|
||||||
{
|
{
|
||||||
final Map<Class<? extends Query>, Class<? extends QueryToolChest>> mappings =
|
final Map<Class<? extends Query>, Class<? extends QueryToolChest>> mappings =
|
||||||
ImmutableMap.<Class<? extends Query>, Class<? extends QueryToolChest>>builder()
|
ImmutableMap.<Class<? extends Query>, Class<? extends QueryToolChest>>builder()
|
|
@ -22,7 +22,7 @@ import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
public class QueryRunnerFactoryModuleStupidCase extends QueryToolChestModuleStupidCase
|
public class QueryRunnerFactoryModule extends QueryToolChestModule
|
||||||
{
|
{
|
||||||
final Map<Class<? extends Query>, Class<? extends QueryRunnerFactory>> mappings =
|
final Map<Class<? extends Query>, Class<? extends QueryRunnerFactory>> mappings =
|
||||||
ImmutableMap.<Class<? extends Query>, Class<? extends QueryRunnerFactory>>builder()
|
ImmutableMap.<Class<? extends Query>, Class<? extends QueryRunnerFactory>>builder()
|
|
@ -6,7 +6,7 @@ import com.metamx.druid.curator.CuratorModule;
|
||||||
import com.metamx.druid.guice.BrokerModule;
|
import com.metamx.druid.guice.BrokerModule;
|
||||||
import com.metamx.druid.guice.HttpClientModule;
|
import com.metamx.druid.guice.HttpClientModule;
|
||||||
import com.metamx.druid.guice.LifecycleModule;
|
import com.metamx.druid.guice.LifecycleModule;
|
||||||
import com.metamx.druid.guice.QueryToolChestModuleStupidCase;
|
import com.metamx.druid.guice.QueryToolChestModule;
|
||||||
import com.metamx.druid.guice.QueryableModule;
|
import com.metamx.druid.guice.QueryableModule;
|
||||||
import com.metamx.druid.guice.ServerModule;
|
import com.metamx.druid.guice.ServerModule;
|
||||||
import com.metamx.druid.guice.ServerViewModule;
|
import com.metamx.druid.guice.ServerViewModule;
|
||||||
|
@ -47,7 +47,7 @@ public class CliBroker extends ServerRunnable
|
||||||
new JettyServerModule(new QueryJettyServerInitializer())
|
new JettyServerModule(new QueryJettyServerInitializer())
|
||||||
.addResource(StatusResource.class),
|
.addResource(StatusResource.class),
|
||||||
new QueryableModule(ClientQuerySegmentWalker.class),
|
new QueryableModule(ClientQuerySegmentWalker.class),
|
||||||
new QueryToolChestModuleStupidCase(),
|
new QueryToolChestModule(),
|
||||||
new ServerViewModule(),
|
new ServerViewModule(),
|
||||||
new HttpClientModule("druid.broker.http", Client.class),
|
new HttpClientModule("druid.broker.http", Client.class),
|
||||||
new BrokerModule()
|
new BrokerModule()
|
||||||
|
|
|
@ -8,7 +8,7 @@ import com.metamx.druid.curator.CuratorModule;
|
||||||
import com.metamx.druid.guice.HistoricalModule;
|
import com.metamx.druid.guice.HistoricalModule;
|
||||||
import com.metamx.druid.guice.HttpClientModule;
|
import com.metamx.druid.guice.HttpClientModule;
|
||||||
import com.metamx.druid.guice.LifecycleModule;
|
import com.metamx.druid.guice.LifecycleModule;
|
||||||
import com.metamx.druid.guice.QueryRunnerFactoryModuleStupidCase;
|
import com.metamx.druid.guice.QueryRunnerFactoryModule;
|
||||||
import com.metamx.druid.guice.QueryableModule;
|
import com.metamx.druid.guice.QueryableModule;
|
||||||
import com.metamx.druid.guice.ServerModule;
|
import com.metamx.druid.guice.ServerModule;
|
||||||
import com.metamx.druid.http.StatusResource;
|
import com.metamx.druid.http.StatusResource;
|
||||||
|
@ -47,7 +47,7 @@ public class CliHistorical extends ServerRunnable
|
||||||
new JettyServerModule(new QueryJettyServerInitializer())
|
new JettyServerModule(new QueryJettyServerInitializer())
|
||||||
.addResource(StatusResource.class),
|
.addResource(StatusResource.class),
|
||||||
new QueryableModule(ServerManager.class),
|
new QueryableModule(ServerManager.class),
|
||||||
new QueryRunnerFactoryModuleStupidCase(),
|
new QueryRunnerFactoryModule(),
|
||||||
HistoricalModule.class
|
HistoricalModule.class
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue