Class ParentJoinFieldMapper.Builder

java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.FieldMapper.Builder
org.elasticsearch.join.mapper.ParentJoinFieldMapper.Builder
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment
Enclosing class:
ParentJoinFieldMapper

public static class ParentJoinFieldMapper.Builder extends org.elasticsearch.index.mapper.FieldMapper.Builder
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
  • Field Summary

    Fields inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder

    copyTo, multiFieldsBuilder

    Fields inherited from class org.elasticsearch.index.mapper.Mapper.Builder

    name

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addRelation(String parent, Set<String> children)
     
    build(org.elasticsearch.index.mapper.MapperBuilderContext context)
     
    protected List<org.elasticsearch.index.mapper.FieldMapper.Parameter<?>>
     

    Methods inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder

    addScriptValidation, init, parentPath, parse, toXContent

    Methods inherited from class org.elasticsearch.index.mapper.Mapper.Builder

    name

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment

    isFragment
  • Constructor Details

    • Builder

      public Builder(String name)
  • Method Details

    • addRelation

      public ParentJoinFieldMapper.Builder addRelation(String parent, Set<String> children)
    • getParameters

      protected List<org.elasticsearch.index.mapper.FieldMapper.Parameter<?>> getParameters()
      Specified by:
      getParameters in class org.elasticsearch.index.mapper.FieldMapper.Builder
    • build

      public ParentJoinFieldMapper build(org.elasticsearch.index.mapper.MapperBuilderContext context)
      Specified by:
      build in class org.elasticsearch.index.mapper.FieldMapper.Builder