public class MappingBuilder extends Object
| Constructor and Description |
|---|
MappingBuilder(ElasticsearchConverter elasticsearchConverter) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildPropertyMapping(Class<?> clazz)
builds the Elasticsearch mapping for the given clazz.
|
public MappingBuilder(ElasticsearchConverter elasticsearchConverter)
public String buildPropertyMapping(Class<?> clazz) throws ElasticsearchException
ElasticsearchException - on errors while building the mappingCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.