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,
org.apache.solr.common.SolrDocumentBase 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,
org.apache.solr.common.SolrDocumentBase sink) |
afterPropertiesSet, canConvert, convert, createAndWrite, getConversionService, getCustomConversions, getCustomWriteTargetType, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, isSimpleType, registerCustomConverters, setCustomConversions, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritegetConversionServicepublic MappingContext<? extends SolrPersistentEntity<?>,SolrPersistentProperty> getMappingContext()
getMappingContext in interface EntityConverter<SolrPersistentEntity<?>,SolrPersistentProperty,Object,org.apache.solr.common.SolrDocumentBase>public <S,R> List<R> read(@Nullable 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, org.apache.solr.common.SolrDocumentBase source)
read in interface EntityReader<Object,org.apache.solr.common.SolrDocumentBase>public void write(@Nullable Object source, org.apache.solr.common.SolrDocumentBase sink)
write in interface EntityWriter<Object,org.apache.solr.common.SolrDocumentBase>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.