Class ParentJoinFieldMapper.Builder

java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.FieldMapper.Builder
org.elasticsearch.join.mapper.ParentJoinFieldMapper.Builder
Enclosing class:
ParentJoinFieldMapper

public static class ParentJoinFieldMapper.Builder
extends org.elasticsearch.index.mapper.FieldMapper.Builder
  • 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
  • Constructor Summary

    Constructors
    Constructor Description
    Builder​(java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    ParentJoinFieldMapper.Builder addRelation​(java.lang.String parent, java.util.Set<java.lang.String> children)  
    ParentJoinFieldMapper build​(org.elasticsearch.index.mapper.ContentPath contentPath)  
    protected java.util.List<org.elasticsearch.index.mapper.FieldMapper.Parameter<?>> getParameters()  

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

    buildFullName, 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
  • Constructor Details

    • Builder

      public Builder​(java.lang.String name)
  • Method Details

    • addRelation

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

      protected java.util.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.ContentPath contentPath)
      Specified by:
      build in class org.elasticsearch.index.mapper.FieldMapper.Builder