Class DruidSecondaryModule

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

public class DruidSecondaryModule extends Object implements com.google.inject.Module
  • Constructor Summary

    Constructors
    Constructor
    Description
    DruidSecondaryModule(Properties properties, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper jsonMapperOnlyNonNullValueSerialization, com.fasterxml.jackson.databind.ObjectMapper smileMapper, javax.validation.Validator validator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(com.google.inject.Binder binder)
     
    com.fasterxml.jackson.databind.ObjectMapper
    getJsonMapper(com.google.inject.Injector injector)
     
    com.fasterxml.jackson.databind.ObjectMapper
    getJsonMapperOnlyNonNullValueSerialization(com.google.inject.Injector injector)
     
    com.fasterxml.jackson.databind.ObjectMapper
    getSmileMapper(com.google.inject.Injector injector)
     
    static void
    setupAnnotationIntrospector(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.AnnotationIntrospector annotationIntrospector)
     
    static void
    setupJackson(com.google.inject.Injector injector, com.fasterxml.jackson.databind.ObjectMapper mapper)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DruidSecondaryModule

      @Inject public DruidSecondaryModule(Properties properties, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper jsonMapperOnlyNonNullValueSerialization, com.fasterxml.jackson.databind.ObjectMapper smileMapper, javax.validation.Validator validator)
  • Method Details

    • configure

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

      @Provides public com.fasterxml.jackson.databind.ObjectMapper getJsonMapper(com.google.inject.Injector injector)
    • getJsonMapperOnlyNonNullValueSerialization

      @Provides public com.fasterxml.jackson.databind.ObjectMapper getJsonMapperOnlyNonNullValueSerialization(com.google.inject.Injector injector)
    • getSmileMapper

      @Provides public com.fasterxml.jackson.databind.ObjectMapper getSmileMapper(com.google.inject.Injector injector)
    • setupJackson

      public static void setupJackson(com.google.inject.Injector injector, com.fasterxml.jackson.databind.ObjectMapper mapper)
    • setupAnnotationIntrospector

      public static void setupAnnotationIntrospector(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.AnnotationIntrospector annotationIntrospector)