public static class GetFieldMappingsResponse.FieldMappingMetaData extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static GetFieldMappingsResponse.FieldMappingMetaData |
NULL |
EMPTY_PARAMS
Constructor and Description |
---|
GetFieldMappingsResponse.FieldMappingMetaData(String fullName,
BytesReference source) |
Modifier and Type | Method and Description |
---|---|
String |
fullName() |
boolean |
isNull() |
Map<String,Object> |
sourceAsMap()
Returns the mappings as a map.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public static final GetFieldMappingsResponse.FieldMappingMetaData NULL
public GetFieldMappingsResponse.FieldMappingMetaData(String fullName, BytesReference source)
public String fullName()
public Map<String,Object> sourceAsMap()
Mapper.name()
.public boolean isNull()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.