Package org.elasticsearch.client.indices
Class GetFieldMappingsResponse.FieldMappingMetaData
- java.lang.Object
-
- org.elasticsearch.client.indices.GetFieldMappingsResponse.FieldMappingMetaData
-
- Enclosing class:
- GetFieldMappingsResponse
public static class GetFieldMappingsResponse.FieldMappingMetaData extends Object
-
-
Constructor Summary
Constructors Constructor Description FieldMappingMetaData(String fullName, BytesReference source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GetFieldMappingsResponse.FieldMappingMetaDatafromXContent(XContentParser parser)StringfullName()inthashCode()Map<String,Object>sourceAsMap()Returns the mappings as a map.StringtoString()
-
-
-
Constructor Detail
-
FieldMappingMetaData
public FieldMappingMetaData(String fullName, BytesReference source)
-
-
Method Detail
-
fullName
public String fullName()
-
sourceAsMap
public Map<String,Object> sourceAsMap()
Returns the mappings as a map. Note that the returned map has a single key which is always the field'sMapper.name().
-
fromXContent
public static GetFieldMappingsResponse.FieldMappingMetaData fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-