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
-
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyMapping
(Class<?> clazz) builds the Elasticsearch mapping for the given clazz.reactor.core.publisher.Mono<String>
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:MappingBuilder
builds the Elasticsearch mapping for the given clazz.- Overrides:
buildPropertyMapping
in classMappingBuilder
- Returns:
- JSON string
- Throws:
MappingException
- on errors while building the mapping
-
buildReactivePropertyMapping
public reactor.core.publisher.Mono<String> buildReactivePropertyMapping(Class<?> clazz) throws MappingException - Throws:
MappingException
-