public static class GetFieldMappingsResponse.FieldMappingMetaData extends java.lang.Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static GetFieldMappingsResponse.FieldMappingMetaData |
NULL |
EMPTY_PARAMS
Constructor and Description |
---|
FieldMappingMetaData(java.lang.String fullName,
BytesReference source) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fullName() |
boolean |
isNull() |
java.util.Map<java.lang.String,java.lang.Object> |
sourceAsMap()
Returns the mappings as a map.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public static final GetFieldMappingsResponse.FieldMappingMetaData NULL
public FieldMappingMetaData(java.lang.String fullName, BytesReference source)
public java.lang.String fullName()
public java.util.Map<java.lang.String,java.lang.Object> sourceAsMap()
Mapper.name()
.public boolean isNull()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException