public class MappingBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ElasticsearchConverter |
elasticsearchConverter |
| Constructor and Description |
|---|
MappingBuilder(ElasticsearchConverter elasticsearchConverter) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildPropertyMapping(Class<?> clazz)
builds the Elasticsearch mapping for the given clazz.
|
protected String |
buildPropertyMapping(ElasticsearchPersistentEntity<?> entity,
Document runtimeFields) |
protected final ElasticsearchConverter elasticsearchConverter
public MappingBuilder(ElasticsearchConverter elasticsearchConverter)
public String buildPropertyMapping(Class<?> clazz) throws org.springframework.data.mapping.MappingException
org.springframework.data.mapping.MappingException - on errors while building the mappingprotected String buildPropertyMapping(ElasticsearchPersistentEntity<?> entity, @Nullable Document runtimeFields)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.