public interface ElasticsearchTypeMapper extends org.springframework.data.convert.TypeMapper<Map<String,Object>>
TypeMapper definition.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE_KEY |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
containsTypeInformation(Map<String,Object> source) |
static ElasticsearchTypeMapper |
create(org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
Creates a new default
ElasticsearchTypeMapper. |
String |
getTypeKey() |
boolean |
isTypeKey(String key)
Returns whether the given key is the type key.
|
static final String DEFAULT_TYPE_KEY
boolean isTypeKey(String key)
static ElasticsearchTypeMapper create(org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
ElasticsearchTypeMapper.mappingContext - the mapping context.ElasticsearchTypeMapper.DefaultElasticsearchTypeMapperCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.