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 void
configure()
Configures aBinder
via the exposed methods.static java.util.Set<java.lang.String>
getBuiltInMetaDataFields()
Returns a set containing all of the builtin metadata fieldsjava.util.Collection<java.util.function.Function<IndexSettings,java.util.Optional<EngineFactory>>>
getEngineFactories()
MapperRegistry
getMapperRegistry()
A registry for all field mappers.java.util.List<NamedWriteableRegistry.Entry>
getNamedWriteables()
java.util.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(java.util.List<MapperPlugin> mapperPlugins)
-
-
Method Detail
-
getNamedWriteables
public java.util.List<NamedWriteableRegistry.Entry> getNamedWriteables()
-
getNamedXContents
public java.util.List<NamedXContentRegistry.Entry> getNamedXContents()
-
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:AbstractModule
Configures aBinder
via the exposed methods.- Specified by:
configure
in classAbstractModule
-
getMapperRegistry
public MapperRegistry getMapperRegistry()
A registry for all field mappers.
-
getEngineFactories
public java.util.Collection<java.util.function.Function<IndexSettings,java.util.Optional<EngineFactory>>> getEngineFactories()
-
-