Class BuiltInTypesModule

java.lang.Object
org.apache.druid.guice.BuiltInTypesModule
All Implemented Interfaces:
com.google.inject.Module, DruidModule

public class BuiltInTypesModule extends Object implements DruidModule
  • Constructor Details

    • BuiltInTypesModule

      public BuiltInTypesModule()
  • Method Details

    • getStringMultiValueHandlingMode

      public static DimensionSchema.MultiValueHandling getStringMultiValueHandlingMode()
      Returns:
      the configured string multi value handling mode from the system config if set; otherwise, returns the default.
    • getDefaultIndexSpec

      public static IndexSpec getDefaultIndexSpec()
    • getJacksonModules

      public List<? extends com.fasterxml.jackson.databind.Module> getJacksonModules()
      Specified by:
      getJacksonModules in interface DruidModule
    • configure

      public void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module
    • initDimensionHandlerAndMvHandlingMode

      @Provides public BuiltInTypesModule.SideEffectRegisterer initDimensionHandlerAndMvHandlingMode(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
    • setMaxStringLength

      public static void setMaxStringLength(@Nullable Integer maxStringLength)
    • getMaxStringLength

      @Nullable public static Integer getMaxStringLength()