Class DynamicTemplate

java.lang.Object
org.elasticsearch.index.mapper.DynamicTemplate
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class DynamicTemplate extends Object implements org.elasticsearch.common.xcontent.ToXContentObject
  • Method Details

    • name

      public String name()
    • pathMatch

      public String pathMatch()
    • match

      public String match()
    • match

      public boolean match(String templateName, String path, String fieldName, DynamicTemplate.XContentFieldType xcontentFieldType)
    • mappingType

      public String mappingType(String dynamicType)
    • isRuntimeMapping

      public boolean isRuntimeMapping()
    • mappingForName

      public Map<String,Object> mappingForName(String name, String dynamicType)
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException