Package org.elasticsearch.client.indices
Class GetFieldMappingsResponse
java.lang.Object
org.elasticsearch.client.indices.GetFieldMappingsResponse
Response object for
GetFieldMappingsRequest
API-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fieldMappings(String index, String field)
Returns the mappings of a specific index and field.static GetFieldMappingsResponse
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
int
hashCode()
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.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-