public interface ElasticsearchTypeMapper extends 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(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.
|
readType, readType, writeType, writeTypestatic final String DEFAULT_TYPE_KEY
boolean isTypeKey(String key)
static ElasticsearchTypeMapper create(MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
ElasticsearchTypeMapper.mappingContext - the mapping context.ElasticsearchTypeMapper.DefaultElasticsearchTypeMapperCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.