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(java.util.List<MapperPlugin> mapperPlugins) -
Method Summary
Modifier and Type Method Description protected voidconfigure()Configures aBindervia the exposed methods.static java.util.Set<java.lang.String>getBuiltInMetadataFields()Returns a set containing all of the builtin metadata fieldsMapperRegistrygetMapperRegistry()A registry for all field mappers.static java.util.Map<java.lang.String,Mapper.TypeParser>getMappers(java.util.List<MapperPlugin> mapperPlugins)static java.util.Map<java.lang.String,MetadataFieldMapper.TypeParser>getMetadataMappers(java.util.List<MapperPlugin> mapperPlugins)java.util.List<NamedWriteableRegistry.Entry>getNamedWriteables()static java.util.List<org.elasticsearch.common.xcontent.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, requireBindingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IndicesModule
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
public static java.util.List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContents() -
getMappers
public static java.util.Map<java.lang.String,Mapper.TypeParser> getMappers(java.util.List<MapperPlugin> mapperPlugins) -
getMetadataMappers
public static java.util.Map<java.lang.String,MetadataFieldMapper.TypeParser> getMetadataMappers(java.util.List<MapperPlugin> mapperPlugins) -
getBuiltInMetadataFields
public static java.util.Set<java.lang.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
A registry for all field mappers.
-