com.gisgraphy.fulltext
Class SolrUnmarshaller
java.lang.Object
com.gisgraphy.fulltext.SolrUnmarshaller
public class SolrUnmarshaller
- extends Object
SolrUnmarshaller for solr Query response to a DTO
- Author:
- David Masclet
- See Also:
SolrResponseDto
Field Summary |
protected static org.slf4j.Logger |
logger
The Logger |
Method Summary |
static List<com.gisgraphy.fulltext.SolrResponseDto> |
unmarshall(org.apache.solr.client.solrj.response.QueryResponse queryResponse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
- The Logger
SolrUnmarshaller
public SolrUnmarshaller()
unmarshall
public static List<com.gisgraphy.fulltext.SolrResponseDto> unmarshall(org.apache.solr.client.solrj.response.QueryResponse queryResponse)
- Parameters:
queryResponse
- the Solr QueryResponse we want to transform
- Returns:
- a list of SolrResponseDto or an empty list. never return null.
Copyright © 2012. All Rights Reserved.