use of org.apache.druid.segment.loading.RandomStorageLocationSelectorStrategy in project druid by druid-io.
the class LocalDataStorageDruidModuleTest method createInjector.
private static Injector createInjector() {
return GuiceInjectors.makeStartupInjectorWithModules(ImmutableList.of(new LocalDataStorageDruidModule(), (Module) binder -> {
binder.bind(new TypeLiteral<List<StorageLocation>>() {
}).toInstance(ImmutableList.of());
binder.bind(ColumnConfig.class).toInstance(() -> 0);
binder.bind(StorageLocationSelectorStrategy.class).toInstance(new RandomStorageLocationSelectorStrategy(ImmutableList.of()));
}));
}
Aggregations