public class SolrJConverter extends SolrConverterBase implements SolrConverter
SolrConverter delegating conversion to DocumentObjectBinder| Constructor and Description |
|---|
SolrJConverter() |
| Modifier and Type | Method and Description |
|---|---|
MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> |
getMappingContext() |
<R> R |
read(Class<R> type,
Map<String,?> source) |
<S,R> List<R> |
read(org.apache.solr.common.SolrDocumentList source,
Class<R> type)
Read
SolrDocumentList and convert to List of given type |
void |
write(Object source,
Map sink) |
afterPropertiesSet, canConvert, convert, createAndWrite, getConversionService, getCustomConversions, getCustomWriteTargetType, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, isSimpleType, registerCutomConverters, setCustomConversions, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritegetConversionServicepublic MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> getMappingContext()
getMappingContext in interface EntityConverter<SolrPersistentEntity<?>,SolrPersistentProperty,Object,Map<String,?>>public <S,R> List<R> read(org.apache.solr.common.SolrDocumentList source, Class<R> type)
SolrConverterSolrDocumentList and convert to List of given typeread in interface SolrConvertersource == null || source.isEmpty()public <R> R read(Class<R> type, Map<String,?> source)
read in interface EntityReader<Object,Map<String,?>>Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.