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
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fromXContent
(XContentParser parser) fullName()
int
hashCode()
boolean
isNull()
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, wait
Methods 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:
toXContent
in interfaceToXContent
- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-