Package org.apache.druid.guice
package org.apache.druid.guice
-
ClassDescriptionBaseInjectorBuilder<T extends BaseInjectorBuilder<?>>Utilities for building a Guice injector.this is used as a vehicle to register the correct version of the system default nested column handler and multi value handling mode by side effect with the help of binding to
Lifecycleso thatBuiltInTypesModule.initDimensionHandlerAndMvHandlingMode(DefaultColumnFormatConfig)can be called with the injectedDefaultColumnFormatConfig.Provides the ability to conditionally bind an item to a set.Module that bindsExprMacroTabletoGuiceExprMacroTableand configures a starter set ofExprMacroTable.ExprMacrofor all macros defined in the "druid-processing" module.The ClassLoader that gets used when druid.extensions.useExtensionClassloaderFirst = true.Manages the loading of Druid extensions.Module for the extensions loader.Transfers the now-populated extension loader instance from the startup to the main injector.Creates the startup injector.Provides a singleton value of type<T>fromPropertiesbound in guice.KeyHolder<T>A replacement for Guice's Singleton scope.A Module to add lifecycle management to the injector.A scope that adds objects to the Lifecycle.ListProvider<T>Marks the object to be managed byLifecycleand set to be onLifecycle.Stage.NORMALstage.Marks the object to be managed byLifecycleand set to be onLifecycle.Stage.ANNOUNCEMENTSstage.Marks the object to be managed byLifecycleand set to be onLifecycle.Stage.INITstage.Marks the object to be managed byLifecycleand set to be onLifecycle.Stage.SERVERstage.Provides the ability to create "polymorphic" bindings where the polymorphism is actually just making a decision based on a value in Properties.A Provider of a Supplier that uses a Provider to implement the Supplier.The ClassLoader that gets used when druid.extensions.useExtensionClassloaderFirst = false.Create the startup injector used to "prime" the modules for the main injector.