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>, MappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

public class SimpleElasticsearchMappingContext
extends AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

SimpleElasticsearchMappingContext

Author:
Rizwan Idrees, Mohsin Husen

Constructor Summary
SimpleElasticsearchMappingContext()
           
 
Method Summary
protected
<T> SimpleElasticsearchPersistentEntity<?>
createPersistentEntity(TypeInformation<T> typeInformation)
           
protected  ElasticsearchPersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, SimpleElasticsearchPersistentEntity<?> owner, 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(TypeInformation<T> typeInformation)
Specified by:
createPersistentEntity in class AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

createPersistentProperty

protected ElasticsearchPersistentProperty createPersistentProperty(Field field,
                                                                   PropertyDescriptor descriptor,
                                                                   SimpleElasticsearchPersistentEntity<?> owner,
                                                                   SimpleTypeHolder simpleTypeHolder)
Specified by:
createPersistentProperty in class AbstractMappingContext<SimpleElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty>

Spring Data Elasticsearch

Copyright © 2013 BioMed Central. All Rights Reserved.