Package org.elasticsearch.indices
Class IndicesModule
org.elasticsearch.common.inject.AbstractModule
org.elasticsearch.indices.IndicesModule
- All Implemented Interfaces:
Module
Configures classes and services that are shared by indices on each node.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Configures aBinder
via the exposed methods.static <>
Returns a set containing all of the builtin metadata fieldsA registry for all field mappers.static <,Mapper.TypeParser>
<MapperPlugin> mapperPlugins)
static <,MetadataFieldMapper.TypeParser>
<MapperPlugin> mapperPlugins)
static <org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry>
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
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
IndicesModule
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
public static <org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContents() -
getMappers
public static <,<MapperPlugin> mapperPlugins) -
getMetadataMappers
public static <,<MapperPlugin> mapperPlugins) -
getBuiltInMetadataFields
public static <> 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
A registry for all field mappers.
-