public interface MapperPlugin
Plugin
implementations to add custom mappersModifier and Type | Method and Description |
---|---|
default java.util.Map<java.lang.String,Mapper.TypeParser> |
getMappers()
Returns additional mapper implementations added by this plugin.
|
default java.util.Map<java.lang.String,MetadataFieldMapper.TypeParser> |
getMetadataMappers()
Returns additional metadata mapper implementations added by this plugin.
|
default java.util.Map<java.lang.String,Mapper.TypeParser> getMappers()
Map
is the unique name for the mapper which will be used
as the mapping type
, and the value is a Mapper.TypeParser
to parse the
mapper settings into a Mapper
.default java.util.Map<java.lang.String,MetadataFieldMapper.TypeParser> getMetadataMappers()
Map
is the unique name for the metadata mapper, which
is used in the mapping json to configure the metadata mapper, and the value is a
MetadataFieldMapper.TypeParser
to parse the mapper settings into a
MetadataFieldMapper
.