Class DocumentObjectBinder
- java.lang.Object
-
- org.apache.solr.client.solrj.beans.DocumentObjectBinder
-
public class DocumentObjectBinder extends Object
A class to map objects to and from solr documents.- Since:
- solr 1.3
-
-
Constructor Summary
Constructors Constructor Description DocumentObjectBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getBean(Class<T> clazz, SolrDocument solrDoc)
<T> List<T>
getBeans(Class<T> clazz, SolrDocumentList solrDocList)
SolrInputDocument
toSolrInputDocument(Object obj)
-
-
-
Field Detail
-
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBeans
public <T> List<T> getBeans(Class<T> clazz, SolrDocumentList solrDocList)
-
getBean
public <T> T getBean(Class<T> clazz, SolrDocument solrDoc)
-
toSolrInputDocument
public SolrInputDocument toSolrInputDocument(Object obj)
-
-