Spring Data Solr

org.springframework.data.solr.core.mapping
Class SimpleSolrMappingContext

java.lang.Object
  extended by org.springframework.data.mapping.context.AbstractMappingContext<SimpleSolrPersistentEntity<?>,SolrPersistentProperty>
      extended by org.springframework.data.solr.core.mapping.SimpleSolrMappingContext
All Implemented Interfaces:
Aware, InitializingBean, ApplicationEventPublisherAware, MappingContext<SimpleSolrPersistentEntity<?>,SolrPersistentProperty>

public class SimpleSolrMappingContext
extends AbstractMappingContext<SimpleSolrPersistentEntity<?>,SolrPersistentProperty>

Solr specific implementation of MappingContext

Author:
Christoph Strobl

Constructor Summary
SimpleSolrMappingContext()
           
 
Method Summary
protected
<T> SimpleSolrPersistentEntity<?>
createPersistentEntity(TypeInformation<T> typeInformation)
           
protected  SolrPersistentProperty createPersistentProperty(Field field, PropertyDescriptor descriptor, SimpleSolrPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)
           
 
Methods inherited from class org.springframework.data.mapping.context.AbstractMappingContext
addPersistentEntity, addPersistentEntity, afterPropertiesSet, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, initialize, 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

SimpleSolrMappingContext

public SimpleSolrMappingContext()
Method Detail

createPersistentEntity

protected <T> SimpleSolrPersistentEntity<?> createPersistentEntity(TypeInformation<T> typeInformation)
Specified by:
createPersistentEntity in class AbstractMappingContext<SimpleSolrPersistentEntity<?>,SolrPersistentProperty>

createPersistentProperty

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

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.