Class GetFieldMappingsResponse.FieldMappingMetadata
java.lang.Object
org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata
- All Implemented Interfaces:
ToXContent,ToXContentFragment
- Enclosing class:
- GetFieldMappingsResponse
public static class GetFieldMappingsResponse.FieldMappingMetadata
extends Object
implements ToXContentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromXContent(XContentParser parser) fullName()inthashCode()booleanisNull()Returns the mappings as a map.toString()toXContent(XContentBuilder builder, ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NULL
-
-
Constructor Details
-
FieldMappingMetadata
-
-
Method Details
-
fullName
-
sourceAsMap
Returns the mappings as a map. Note that the returned map has a single key which is always the field'sMapper.name(). -
isNull
public boolean isNull() -
fromXContent
public static GetFieldMappingsResponse.FieldMappingMetadata fromXContent(XContentParser parser) throws IOException - Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-