public class MappingSolrConverter extends Object implements SolrConverter, ApplicationContextAware, InitializingBean
Constructor and Description |
---|
MappingSolrConverter(SolrServerFactory solrServerFactory,
MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> mappingContext) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
ConversionService |
getConversionService() |
MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> |
getMappingContext() |
<R> R |
read(Class<R> type,
Map<String,?> source) |
protected <S> S |
read(TypeInformation<S> targetTypeInformation,
Map<String,?> source) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
write(Object source,
Map target) |
public MappingSolrConverter(SolrServerFactory solrServerFactory, MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> mappingContext)
public MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> getMappingContext()
getMappingContext
in interface EntityConverter<SolrPersistentEntity<?>,SolrPersistentProperty,Object,Map<String,?>>
public ConversionService getConversionService()
getConversionService
in interface EntityConverter<SolrPersistentEntity<?>,SolrPersistentProperty,Object,Map<String,?>>
public <R> R read(Class<R> type, Map<String,?> source)
read
in interface EntityReader<Object,Map<String,?>>
protected <S> S read(TypeInformation<S> targetTypeInformation, Map<String,?> source)
public void write(Object source, Map target)
write
in interface EntityWriter<Object,Map<String,?>>
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.