Class FieldMapper.MultiFields

java.lang.Object
org.elasticsearch.index.mapper.FieldMapper.MultiFields
All Implemented Interfaces:
java.lang.Iterable<FieldMapper>, org.elasticsearch.common.xcontent.ToXContent
Enclosing class:
FieldMapper

public static class FieldMapper.MultiFields
extends java.lang.Object
implements java.lang.Iterable<FieldMapper>, org.elasticsearch.common.xcontent.ToXContent
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  FieldMapper.MultiFields.Builder  

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

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

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    static FieldMapper.MultiFields empty()  
    java.util.Iterator<FieldMapper> iterator()  
    FieldMapper.MultiFields merge​(FieldMapper.MultiFields mergeWith)  
    void parse​(FieldMapper mainField, ParseContext context)  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent

    isFragment
  • Method Details

    • empty

      public static FieldMapper.MultiFields empty()
    • parse

      public void parse​(FieldMapper mainField, ParseContext context) throws java.io.IOException
      Throws:
      java.io.IOException
    • merge

      public FieldMapper.MultiFields merge​(FieldMapper.MultiFields mergeWith)
    • iterator

      public java.util.Iterator<FieldMapper> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<FieldMapper>
    • toXContent

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