Package org.elasticsearch.client.indices
Class GetFieldMappingsResponse
java.lang.Object
org.elasticsearch.client.indices.GetFieldMappingsResponse
Response object for
GetFieldMappingsRequest API-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanfieldMappings(String index, String field) Returns the mappings of a specific index and field.static GetFieldMappingsResponsefromXContent(org.elasticsearch.xcontent.XContentParser parser) inthashCode()mappings()Returns the fields mapping.toString()
-
Method Details
-
mappings
Returns the fields mapping. The return map keys are indexes and fields (as specified in the request). -
fieldMappings
Returns the mappings of a specific index and field.- Parameters:
field- field name as specified in theGetFieldMappingsRequest- Returns:
- FieldMappingMetadata for the requested field or null if not found.
-
fromXContent
public static GetFieldMappingsResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-