Package org.apache.druid.guice
Class NestedDataModule
- java.lang.Object
-
- org.apache.druid.guice.NestedDataModule
-
- All Implemented Interfaces:
com.google.inject.Module,DruidModule
public class NestedDataModule extends Object implements DruidModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNestedDataModule.NestedColumnV4HandlerProviderstatic classNestedDataModule.NestedCommonFormatHandlerProviderstatic classNestedDataModule.SideEffectHandlerRegistererthis is used as a vehicle to register the correct version of the system default nested column handler by side effect with the help of binding toLifecycleso thatregisterHandler(DefaultColumnFormatConfig)can be called with the injectedDefaultColumnFormatConfig.
-
Constructor Summary
Constructors Constructor Description NestedDataModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.inject.Binder binder)List<? extends com.fasterxml.jackson.databind.Module>getJacksonModules()static List<com.fasterxml.jackson.databind.module.SimpleModule>getJacksonModulesList()NestedDataModule.SideEffectHandlerRegistererregisterHandler(DefaultColumnFormatConfig formatsConfig)static voidregisterHandlersAndSerde()Helper for wiring stuff up for tests
-
-
-
Method Detail
-
getJacksonModules
public List<? extends com.fasterxml.jackson.databind.Module> getJacksonModules()
- Specified by:
getJacksonModulesin interfaceDruidModule
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configurein interfacecom.google.inject.Module
-
registerHandler
@Provides public NestedDataModule.SideEffectHandlerRegisterer registerHandler(DefaultColumnFormatConfig formatsConfig)
-
getJacksonModulesList
public static List<com.fasterxml.jackson.databind.module.SimpleModule> getJacksonModulesList()
-
registerHandlersAndSerde
public static void registerHandlersAndSerde()
Helper for wiring stuff up for tests
-
-