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 Details

    • DynamicTemplate

      public DynamicTemplate()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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)
    • getExtraAttributes

      public Map<String,com.google.gson.JsonElement> getExtraAttributes()
    • setExtraAttributes

      public void setExtraAttributes(Map<String,com.google.gson.JsonElement> extraAttributes)