Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class FieldMapper.MultiFields
java.lang.Object
org.elasticsearch.index.mapper.FieldMapper.MultiFields
- All Implemented Interfaces:
Iterable<FieldMapper>,ToXContent
- Enclosing class:
FieldMapper
public static final class FieldMapper.MultiFields
extends Object
implements Iterable<FieldMapper>, ToXContent
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldMapper.MultiFieldsempty()iterator()voidparse(FieldMapper mainField, DocumentParserContext context, Supplier<DocumentParserContext> multiFieldContextSupplier) toXContent(XContentBuilder builder, ToXContent.Params params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment
-
Method Details
-
empty
-
parse
public void parse(FieldMapper mainField, DocumentParserContext context, Supplier<DocumentParserContext> multiFieldContextSupplier) throws IOException - Throws:
IOException
-
iterator
- Specified by:
iteratorin interfaceIterable<FieldMapper>
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-