Class DynamicTemplate
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.lowlevel.index.mapping.impl.DynamicTemplate
-
public class DynamicTemplate extends Object
An object representing an Elasticsearch dynamic template.This is the inner object in the array of templates, wrapped in a
NamedDynamicTemplate. See https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-templates.html
-
-
Constructor Summary
Constructors Constructor Description DynamicTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,com.google.gson.JsonElement>getExtraAttributes()PropertyMappinggetMapping()StringgetMatchMappingType()StringgetPathMatch()voidsetExtraAttributes(Map<String,com.google.gson.JsonElement> extraAttributes)voidsetMapping(PropertyMapping mapping)voidsetMatchMappingType(String matchMappingType)voidsetPathMatch(String pathMatch)StringtoString()
-
-
-
Method Detail
-
getMatchMappingType
public String getMatchMappingType()
-
setMatchMappingType
public void setMatchMappingType(String matchMappingType)
-
getPathMatch
public String getPathMatch()
-
setPathMatch
public void setPathMatch(String pathMatch)
-
getMapping
public PropertyMapping getMapping()
-
setMapping
public void setMapping(PropertyMapping mapping)
-
-