Package org.elasticsearch.indices
Class IndicesModule
- java.lang.Object
-
- org.elasticsearch.common.inject.AbstractModule
-
- org.elasticsearch.indices.IndicesModule
-
- All Implemented Interfaces:
Module
public class IndicesModule extends AbstractModule
Configures classes and services that are shared by indices on each node.
-
-
Constructor Summary
Constructors Constructor Description IndicesModule(List<MapperPlugin> mapperPlugins)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()Configures aBindervia the exposed methods.static Set<String>getBuiltInMetaDataFields()Returns a set containing all of the builtin metadata fieldsCollection<Function<IndexSettings,Optional<EngineFactory>>>getEngineFactories()MapperRegistrygetMapperRegistry()A registry for all field mappers.static Map<String,Mapper.TypeParser>getMappers(List<MapperPlugin> mapperPlugins)static Map<String,MetadataFieldMapper.TypeParser>getMetadataMappers(List<MapperPlugin> mapperPlugins)List<NamedWriteableRegistry.Entry>getNamedWriteables()List<NamedXContentRegistry.Entry>getNamedXContents()-
Methods inherited from class org.elasticsearch.common.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Constructor Detail
-
IndicesModule
public IndicesModule(List<MapperPlugin> mapperPlugins)
-
-
Method Detail
-
getNamedWriteables
public List<NamedWriteableRegistry.Entry> getNamedWriteables()
-
getNamedXContents
public List<NamedXContentRegistry.Entry> getNamedXContents()
-
getMappers
public static Map<String,Mapper.TypeParser> getMappers(List<MapperPlugin> mapperPlugins)
-
getMetadataMappers
public static Map<String,MetadataFieldMapper.TypeParser> getMetadataMappers(List<MapperPlugin> mapperPlugins)
-
getBuiltInMetaDataFields
public static Set<String> getBuiltInMetaDataFields()
Returns a set containing all of the builtin metadata fields
-
configure
protected void configure()
Description copied from class:AbstractModuleConfigures aBindervia the exposed methods.- Specified by:
configurein classAbstractModule
-
getMapperRegistry
public MapperRegistry getMapperRegistry()
A registry for all field mappers.
-
getEngineFactories
public Collection<Function<IndexSettings,Optional<EngineFactory>>> getEngineFactories()
-
-