Search in sources :

Example 1 with ExpressionProcessingModule

use of org.apache.druid.math.expr.ExpressionProcessingModule in project druid by druid-io.

the class GuiceInjectors method makeDefaultStartupModules.

public static Collection<Module> makeDefaultStartupModules() {
    return ImmutableList.of(new DruidGuiceExtensions(), new JacksonModule(), new PropertiesModule(Arrays.asList("common.runtime.properties", "runtime.properties")), new RuntimeInfoModule(), new ConfigModule(), new NullHandlingModule(), new ExpressionProcessingModule(), binder -> {
        binder.bind(DruidSecondaryModule.class);
        JsonConfigProvider.bind(binder, "druid.extensions", ExtensionsConfig.class);
        JsonConfigProvider.bind(binder, "druid.modules", ModulesConfig.class);
    });
}
Also used : ExpressionProcessingModule(org.apache.druid.math.expr.ExpressionProcessingModule) JacksonModule(org.apache.druid.jackson.JacksonModule)

Aggregations

JacksonModule (org.apache.druid.jackson.JacksonModule)1 ExpressionProcessingModule (org.apache.druid.math.expr.ExpressionProcessingModule)1