Package org.elasticsearch.client.indices
Class GetMappingsResponse
java.lang.Object
org.elasticsearch.client.indices.GetMappingsResponse
public class GetMappingsResponse
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description GetMappingsResponse(java.util.Map<java.lang.String,org.elasticsearch.cluster.metadata.MappingMetadata> mappings)
-
Method Summary
Modifier and Type Method Description static GetMappingsResponse
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
java.util.Map<java.lang.String,org.elasticsearch.cluster.metadata.MappingMetadata>
mappings()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GetMappingsResponse
public GetMappingsResponse(java.util.Map<java.lang.String,org.elasticsearch.cluster.metadata.MappingMetadata> mappings)
-
-
Method Details
-
mappings
public java.util.Map<java.lang.String,org.elasticsearch.cluster.metadata.MappingMetadata> mappings() -
fromXContent
public static GetMappingsResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-