public class GetFieldMappingsResponse extends ActionResponse implements ToXContent
GetFieldMappingsRequest API| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
GetFieldMappingsResponse.FieldMappingMetaData |
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
GetFieldMappingsResponse.FieldMappingMetaData |
fieldMappings(String index,
String type,
String field)
Returns the mappings of a specific field.
|
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,GetFieldMappingsResponse.FieldMappingMetaData>>> |
mappings()
returns the retrieved field mapping.
|
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,GetFieldMappingsResponse.FieldMappingMetaData>>> mappings()
public GetFieldMappingsResponse.FieldMappingMetaData fieldMappings(String index, String type, String field)
field - field name as specified in the GetFieldMappingsRequestpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.