Class GetFieldMappingsResponse.FieldMappingMetadata
java.lang.Object
org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata
- All Implemented Interfaces:
org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentFragment
- Enclosing class:
- GetFieldMappingsResponse
public static class GetFieldMappingsResponse.FieldMappingMetadata
extends Object
implements org.opensearch.common.xcontent.ToXContentFragment
Metadata for field mappings for toXContent
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
fromXContent
(org.opensearch.common.xcontent.XContentParser parser) fullName()
int
hashCode()
Returns the mappings as a map.toString()
org.opensearch.common.xcontent.XContentBuilder
toXContent
(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
FieldMappingMetadata
-
-
Method Details
-
fullName
-
sourceAsMap
Returns the mappings as a map. Note that the returned map has a single key which is always the field'sMapper.name()
. -
fromXContent
public static GetFieldMappingsResponse.FieldMappingMetadata fromXContent(org.opensearch.common.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
toXContent
public org.opensearch.common.xcontent.XContentBuilder toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.opensearch.common.xcontent.ToXContent
- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-