Class ReactiveMappingBuilder
java.lang.Object
org.springframework.data.elasticsearch.core.index.MappingBuilder
org.springframework.data.elasticsearch.core.index.ReactiveMappingBuilder
Subclass of
MappingBuilder with specialized methods To inhibit blocking calls- Since:
- 4.3
- Author:
- Peter-Josef Meisch
-
Field Summary
Fields inherited from class org.springframework.data.elasticsearch.core.index.MappingBuilder
elasticsearchConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyMapping(Class<?> clazz) builds the Elasticsearch mapping for the given clazz.buildReactivePropertyMapping(Class<?> clazz) Methods inherited from class org.springframework.data.elasticsearch.core.index.MappingBuilder
buildPropertyMapping
-
Constructor Details
-
ReactiveMappingBuilder
-
-
Method Details
-
buildPropertyMapping
Description copied from class:MappingBuilderbuilds the Elasticsearch mapping for the given clazz.- Overrides:
buildPropertyMappingin classMappingBuilder- Returns:
- JSON string
- Throws:
MappingException- on errors while building the mapping
-
buildReactivePropertyMapping
- Throws:
MappingException
-