Class DocumentObjectBinder
java.lang.Object
org.apache.solr.client.solrj.beans.DocumentObjectBinder
Maps objects to and from Solr documents.
- Since:
- solr 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final DocumentObjectBinderThe singleton/default instance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<DocumentObjectBinder.DocField> collectInfo(Class<?> clazz) <T> TgetBean(Class<T> clazz, SolrDocument solrDoc) <T> List<T> getBeans(Class<T> clazz, SolrDocumentList solrDocList)
-
Field Details
-
INSTANCE
The singleton/default instance. The implementation is loaded viaServiceLoader, so it's customizable. -
DEFAULT
- See Also:
-
-
Constructor Details
-
DocumentObjectBinder
public DocumentObjectBinder()
-
-
Method Details
-
getBeans
-
getBean
-
toSolrInputDocument
-
collectInfo
-