Spring Data Elasticsearch

org.springframework.data.elasticsearch.core.mapping
Class SimpleElasticsearchMappingContext

java.lang.Object
  extended by org.springframework.data.mapping.context.AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>
      extended by org.springframework.data.elasticsearch.core.mapping.SimpleElasticsearchMappingContext
All Implemented Interfaces:
EventListener, Aware, ApplicationContextAware, ApplicationEventPublisherAware, ApplicationListener<ContextRefreshedEvent>, org.springframework.data.mapping.context.MappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

public class SimpleElasticsearchMappingContext
extends org.springframework.data.mapping.context.AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>


Constructor Summary
SimpleElasticsearchMappingContext()
           
 
Method Summary
protected
<T> SimpleElasticsearchPersistentEntity<?>
createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
           
protected  ElasticsearchPersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, SimpleElasticsearchPersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
           
 
Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, initialize, onApplicationEvent, setApplicationContext, setApplicationEventPublisher, setInitialEntitySet, setSimpleTypeHolder, setStrict, shouldCreatePersistentEntityFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleElasticsearchMappingContext

public SimpleElasticsearchMappingContext()
Method Detail

createPersistentEntity

protected <T> SimpleElasticsearchPersistentEntity<?> createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
Specified by:
createPersistentEntity in class org.springframework.data.mapping.context.AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

createPersistentProperty

protected ElasticsearchPersistentProperty createPersistentProperty(Field field,
                                                                   PropertyDescriptor descriptor,
                                                                   SimpleElasticsearchPersistentEntity<?> owner,
                                                                   org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
Specified by:
createPersistentProperty in class org.springframework.data.mapping.context.AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

Spring Data Elasticsearch

Copyright © 2013 BioMed Central. All Rights Reserved.